mirror of
https://github.com/mashirozx/sakura.git
synced 2024-12-12 09:54:35 +08:00
bug fix
This commit is contained in:
parent
14b9217d83
commit
36c0e88b20
@ -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>';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user