浏览代码

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 {