You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Timo Schmidt (JIRA)" <ji...@apache.org> on 2015/04/01 18:24:53 UTC
[jira] [Created] (WICKET-5870) wicket-event-jquery.js:
Wicket.Browser.isIE11() does not return boolean
Timo Schmidt created WICKET-5870:
------------------------------------
Summary: wicket-event-jquery.js: Wicket.Browser.isIE11() does not return boolean
Key: WICKET-5870
URL: https://issues.apache.org/jira/browse/WICKET-5870
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 7.0.0-M5
Reporter: Timo Schmidt
Priority: Trivial
In wicket-event-jquery.js starting with Line 115 the method isIE11 does not return a boolean.
Current implementation:
var isTrident = userAgent.indexOf("Trident");
var is11 = userAgent.indexOf("rv:11");
Fix:
var isTrident = userAgent.indexOf("Trident") > -1;
var is11 = userAgent.indexOf("rv:11") > -1;
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)