Fix JSHint error

Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/1eb424f8
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/1eb424f8
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/1eb424f8

Branch: refs/heads/master
Commit: 1eb424f8c9712cdeb73566524b2d88cac4d9b272
Parents: e8fca24
Author: Martin Tzvetanov Grigorov <mgrigo...@apache.org>
Authored: Thu Feb 21 13:34:33 2013 +0200
Committer: Martin Tzvetanov Grigorov <mgrigo...@apache.org>
Committed: Thu Feb 21 13:34:33 2013 +0200

----------------------------------------------------------------------
 .../html/autocomplete/wicket-autocomplete.js       |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/1eb424f8/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/autocomplete/wicket-autocomplete.js
----------------------------------------------------------------------
diff --git 
a/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/autocomplete/wicket-autocomplete.js
 
b/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/autocomplete/wicket-autocomplete.js
index d262040..ee654e7 100644
--- 
a/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/autocomplete/wicket-autocomplete.js
+++ 
b/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/autocomplete/wicket-autocomplete.js
@@ -346,7 +346,7 @@
                        var attrs = {
                                u: callbackUrl,
                                pre: [ function (attributes) {
-                                       return (document.activeElement == 
initialElement);
+                                       return (document.activeElement === 
initialElement);
                                }],
                                ep: {},
                                wr: false,
@@ -364,7 +364,7 @@
                        var attrs = {
                                u: callbackUrl,
                                pre: [ function (attributes) {
-                                       return (document.activeElement == 
initialElement);
+                                       return (document.activeElement === 
initialElement);
                                }],
                                ep: {},
                                wr: false,

Reply via email to