Zachary Kotlarek 13 лет назад
Родитель
Сommit
1cdbfdb311
1 измененных файлов с 12 добавлено и 12 удалено
  1. 12 12
      web/index.php

+ 12 - 12
web/index.php

@@ -94,18 +94,18 @@ print <<<ENDOLA
 	<!-- Must be loaded before JQuery-mobile  -->
 	<script>
 	$( document ).on( "mobileinit", function() {
-	    $.mobile.listview.prototype.options.autodividersSelector = function( elt ) {
-	        var text = $.trim( elt.text() ) || null;
-	        if ( !text ) {
-	            return null;
-	        }
-	        if ( !isNaN(parseFloat(text)) ) {
-	            return "#";
-	        } else {
-	            text = text.slice( 0, 1 ).toUpperCase();
-	            return text;
-	        }
-	    };
+		$.mobile.listview.prototype.options.autodividersSelector = function( elt ) {
+			var text = $.trim( elt.text() ) || null;
+			if ( !text ) {
+				return null;
+			}
+			if ( !isNaN(parseFloat(text)) ) {
+				return "#";
+			} else {
+				text = text.slice( 0, 1 ).toUpperCase();
+				return text;
+			}
+		};
 	});
 	</script>