Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #60 from marksulls/master

jquery 1.9+ compatibility update
  • Loading branch information...
commit a3e9bc1c755ca5237273b48a9707df329b82ba33 2 parents 7b06d33 + eca84eb
@fgelinas authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  jquery.ui.timepicker.js
View
3  jquery.ui.timepicker.js
@@ -641,7 +641,8 @@
html += '</table>';
/* IE6 IFRAME FIX (taken from datepicker 1.5.3, fixed in 0.1.2 */
- html += ($.browser.msie && parseInt($.browser.version,10) < 7 && !inst.inline ?
+ /* fix for jquery 1.9+ */
+ html += (navigator.userAgent.toString().toLowerCase().indexOf('msie') != -1 && parseInt($.browser.version,10) < 7 && !inst.inline ?
'<iframe src="javascript:false;" class="ui-timepicker-cover" frameborder="0"></iframe>' : '');
return html;
Please sign in to comment.
Something went wrong with that request. Please try again.