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

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

Commit 97c5eb8f8c655e9600103b2e2dd7a4cfee57484d in wicket's branch 
refs/heads/master from [~svenmeier]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=97c5eb8 ]

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
>            Assignee: Sven Meier
>            Priority: Trivial
>             Fix For: 7.0.0, 6.20.0
>
>
> 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