File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -397,17 +397,18 @@ function setDocumentTitle()
397397 if ( intervalId == undefined && siteTip != "clear" ) {
398398 intervalId = setInterval ( function ( ) {
399399 if ( siteTip == "clear" ) {
400- $ ( ".icon" ) . attr ( "href" , "favicon.ico" ) ;
400+ $ ( ".icon" ) . attr ( "href" , "favicon.ico?_v=" + intervalId ) ;
401401 iconNum = 0 ;
402402 } else {
403403 if ( Number ( iconNum % 2 ) == 0 ) {
404- $ ( ".icon" ) . attr ( "href" , "favicon.ico" ) ;
404+ $ ( ".icon" ) . attr ( "href" , "favicon.ico?_v=" + intervalId ) ;
405405 } else {
406- $ ( ".icon" ) . attr ( "href" , "tip.png" ) ;
406+ $ ( ".icon" ) . attr ( "href" , "tip.png?_v=" + intervalId ) ;
407407 }
408+
408409 iconNum = Number ( iconNum + 1 ) ;
409410 }
410- } , 5 ) ;
411+ } , 100 ) ;
411412 }
412413 return ;
413414 }
Original file line number Diff line number Diff line change 1515 <script src="../../public/js/jquery.i18n.properties.min.js?_version=<?php echo $ versionCode?> "></script>
1616 <script src="../../public/js/im/zalyKey.js?_version=<?php echo $ versionCode?> "></script>
1717
18- <link class="icon" rel="icon" href="proxy.php?url=https%3A%2F%2Fgithub.com%2Ffavicon.ico" type="image/png" />
18+ <link class="icon" rel="icon" href="proxy.php?url=https%3A%2F%2Fgithub.com%2Ffavicon.ico%3Cspan+class%3D"x x-first">?_version=<?php echo $ versionCode ?> " type="image/png" />
1919
2020 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
2121
You can’t perform that action at this time.
0 commit comments