修正用户更新系统后还显示新版本更新的bug

This commit is contained in:
joyqi
2013-12-12 21:02:00 +08:00
parent 59e01860d1
commit b2b55e6412
2 changed files with 8 additions and 4 deletions
+8 -1
View File
@@ -29,5 +29,12 @@ include 'menu.php';
<?php
include 'copyright.php';
include 'common-js.php';
include 'footer.php';
?>
<script>
(function () {
if (window.sessionStorage) {
sessionStorage.removeItem('update');
}
})();
</script>
<?php include 'footer.php'; ?>