Explorar el Código

Fix homescreen页面匹配问题

Nolovenodie丶 hace 2 años
padre
commit
da8c91768f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      content/main.js

+ 1 - 1
content/main.js

@@ -9,7 +9,7 @@ class Home {
 		this.logoOptions = { type: "Logo", maxWidth: 3000 };
 
 		setInterval(() => {
-			if (window.location.href.indexOf("/home") != -1) {
+			if (window.location.href.indexOf("!/home") != -1) {
 				if ($(".view:not(.hide) .misty-banner").length == 0 && $(".misty-loading").length == 0) {
 					this.initLoading();
 				}