Zachary Kotlarek vor 13 Jahren
Ursprung
Commit
1cdbfdb311
1 geänderte Dateien mit 12 neuen und 12 gelöschten Zeilen
  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>