From d42aace51c80cbfb88ccb7760c339b8dcedd0f4f Mon Sep 17 00:00:00 2001 From: scottjehl Date: Wed, 27 Oct 2010 16:27:10 -0400 Subject: [PATCH] removed a few chars from condition. Thx @jeffreyway for suggestions on the last few commits. --- js/jquery.mobile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/jquery.mobile.js b/js/jquery.mobile.js index 656b1903..5c17caaf 100644 --- a/js/jquery.mobile.js +++ b/js/jquery.mobile.js @@ -135,7 +135,7 @@ nextPageRole = $this.attr( "data-rel" ); //if it's a relative href, prefix href with base url - if( href.indexOf('/') !== 0 && href.indexOf('#') !== 0 ){ + if( href.indexOf('/') && href.indexOf('#') !== 0 ){ href = getBaseURL() + href; }