From 9aa1a38a328cb97305ee21f1fc141092f93fbde9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ernesto=20Jime=CC=81nez?= Date: Wed, 16 Feb 2011 22:22:28 +0000 Subject: [PATCH] Reviewing the code realised that this var was implicitly declared as global. --- js/jquery.mobile.navigation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/jquery.mobile.navigation.js b/js/jquery.mobile.navigation.js index 478d06f4..2bd09252 100644 --- a/js/jquery.mobile.navigation.js +++ b/js/jquery.mobile.navigation.js @@ -171,7 +171,7 @@ } //base element management, defined depending on dynamic base tag support - base = $.support.dynamicBaseTag ? { + var base = $.support.dynamicBaseTag ? { //define base element, for use in routing asset urls that are referenced in Ajax-requested markup element: ($base.length ? $base : $("", { href: docBase }).prependTo( $head )),