Преглед изворни кода

Fixed bug in Music player desktop mode

tobychui пре 4 година
родитељ
комит
f2d08a0ab4
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      web/Music/index.html

+ 4 - 0
web/Music/index.html

@@ -1596,6 +1596,10 @@
 	function setWindowHash(hashValue){
 		hashValue = JSON.stringify(hashValue);
 
+		if (!isAndroid){
+			return;
+		}
+		
 		if(history.pushState) {
 			window.history.pushState(null, null, '#' + hashValue);
 		}else {