Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit 9aa1a38

Browse files
Reviewing the code realised that this var was implicitly declared as global.
1 parent 8ea0181 commit 9aa1a38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/jquery.mobile.navigation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
}
172172

173173
//base element management, defined depending on dynamic base tag support
174-
base = $.support.dynamicBaseTag ? {
174+
var base = $.support.dynamicBaseTag ? {
175175

176176
//define base element, for use in routing asset urls that are referenced in Ajax-requested markup
177177
element: ($base.length ? $base : $("<base>", { href: docBase }).prependTo( $head )),

0 commit comments

Comments
 (0)