From ca9ad75d96f9af0b7ced8b51644bfca4361ea39c Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Sun, 08 May 2016 04:06:24 -0400 Subject: [PATCH] Add some more tests for HREF attribute washing --- plugins/jqueryui/js/jquery-ui-accessible-datepicker.js | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/plugins/jqueryui/js/jquery-ui-accessible-datepicker.js b/plugins/jqueryui/js/jquery-ui-accessible-datepicker.js index ef7561c..38e99e8 100644 --- a/plugins/jqueryui/js/jquery-ui-accessible-datepicker.js +++ b/plugins/jqueryui/js/jquery-ui-accessible-datepicker.js @@ -128,6 +128,8 @@ } } }) + // fix https://bugs.jqueryui.com/ticket/8593 + .click(function (event) { that._showDatepicker(event); }) .attr('autocomplete', 'off'); }, @@ -177,7 +179,7 @@ _hideDatepicker: function(input) { __hideDatepicker.call(this, input); - var inst = this._curInst;; + var inst = this._curInst; if (inst && !$.datepicker._datepickerShowing) { inst.dpDiv.attr('aria-hidden', 'true'); $(inst.input).attr('aria-expanded', 'false'); -- Gitblit v1.9.1