Skip to content
This repository
Browse code

remove chrome ref

  • Loading branch information...
commit 47cf8d61b15cc55511050845f9589778e2b012a3 1 parent f49fe20
John Bender authored November 22, 2011

Showing 1 changed file with 7 additions and 7 deletions. Show diff stats Hide diff stats

  1. 14  docs/_assets/js/jqm-docs.js
14  docs/_assets/js/jqm-docs.js
... ...
@@ -1,16 +1,16 @@
1 1
 //set up the theme switcher on the homepage
2 2
 $('div').live('pagecreate',function(event){
3  
-	if( !$(this).is('.ui-dialog')){ 
  3
+	if( !$(this).is('.ui-dialog')){
4 4
 		var appendEl = $(this).find('.ui-footer:last');
5  
-		
  5
+
6 6
 		if( !appendEl.length ){
7 7
 			appendEl = $(this).find('.ui-content');
8 8
 		}
9  
-		
  9
+
10 10
 		if( appendEl.is("[data-position]") ){
11 11
 			return;
12 12
 		}
13  
-		
  13
+
14 14
 		$('<a href="#themeswitcher" data-'+ $.mobile.ns +'rel="dialog" data-'+ $.mobile.ns +'transition="pop">Switch theme</a>')
15 15
 			.buttonMarkup({
16 16
 				'icon':'gear',
@@ -23,7 +23,7 @@ $('div').live('pagecreate',function(event){
23 23
 			.bind( "vclick", function(){
24 24
 				$.themeswitcher();
25 25
 			});
26  
-	}	
  26
+	}
27 27
 
28 28
 });
29 29
 
@@ -37,7 +37,7 @@ $(function(){
37 37
 function setDefaultTransition(){
38 38
 	var winwidth = $( window ).width(),
39 39
 		trans ="slide";
40  
-		
  40
+
41 41
 	if( winwidth >= 1000 ){
42 42
 		trans = "none";
43 43
 	}
@@ -91,7 +91,7 @@ if ( location.protocol.substr(0,4)  === 'file' ||
91 91
 
92 92
       message
93 93
         .append( "<h3>Note: Navigation may not work if viewed locally</h3>" )
94  
-        .append( "<p>The AJAX-based navigation used throughout the jQuery Mobile docs may need to be viewed on a web server to work in certain browsers such as Chrome. If you see an error message when you click a link, try a different browser or <a href='https://github.com/jquery/jquery-mobile/wiki/Downloadable-Docs-Help'>view help</a>.</p>" );
  94
+        .append( "<p>The AJAX-based navigation used throughout the jQuery Mobile docs may need to be viewed on a web server to work in certain browsers. If you see an error message when you click a link, try a different browser or <a href='https://github.com/jquery/jquery-mobile/wiki/Downloadable-Docs-Help'>view help</a>.</p>" );
95 95
 
96 96
       $( document ).bind( "pagecreate", function( event ) {
97 97
         $( event.target ).append( message );

0 notes on commit 47cf8d6

Please sign in to comment.
Something went wrong with that request. Please try again.