Skip to content

Commit 6963fc2

Browse files
committed
fix browser detection for IE10
1 parent 41fdec0 commit 6963fc2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

public/javascripts/DV/helpers/helpers.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,8 @@ DV.Schema.helpers = {
430430
},
431431

432432
unsupportedBrowser : function() {
433-
if (!(DV.jQuery.browser.msie && DV.jQuery.browser.version <= "6.0")) return false;
433+
var browser = DV.jQuery.browser;
434+
if (!(browser.msie && parseFloat(browser.version, 10) <= 6.0)) return false;
434435
DV.jQuery(this.viewer.options.container).html(JST.unsupported({viewer : this.viewer}));
435436
return true;
436437
},

0 commit comments

Comments
 (0)