pull/71/head
Mashiro 2019-02-20 00:20:17 +08:00
parent 14b9217d83
commit 36c0e88b20
1 changed files with 5 additions and 3 deletions

View File

@ -1353,9 +1353,11 @@ function custom_admin_js() {
window.onload=function(){
lazyload();
document.querySelector("#scheme-tip .notice-dismiss").addEventListener("click", function(){
location.href="?scheme-tip-dismissed'.BUILD_VERSION.'";
});
try{
document.querySelector("#scheme-tip .notice-dismiss").addEventListener("click", function(){
location.href="?scheme-tip-dismissed'.BUILD_VERSION.'";
});
} catch(e){}
}
</script>';
}