[ 
https://issues.apache.org/jira/browse/WICKET-5870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14391316#comment-14391316
 ] 

ASF subversion and git services commented on WICKET-5870:
---------------------------------------------------------

Commit 22d7c6e98bf95234f6c054e18621011d7a818cae in wicket's branch 
refs/heads/wicket-6.x from [~svenmeier]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=22d7c6e ]

WICKET-5870 corrected IE11 detection


> 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)

Reply via email to