Commit 4252755c by doszhang

dos

parent 719ee03b
...@@ -119,20 +119,11 @@ $(document).ready(function () { ...@@ -119,20 +119,11 @@ $(document).ready(function () {
} }
}; };
(function () { (function () {
var showCount = 0;
EventUtil.addHandler(window, "load", function () {});
EventUtil.addHandler(window, "pageshow", function (event) { EventUtil.addHandler(window, "pageshow", function (event) {
showCount++; alert('show')
alert("Show has been fired " + showCount + " times."); $('#music')[0].play();
}); });
})(); })();
window.addEventListener('pageshow', function (e) {
if (e.persisted || (window.performance && window.performance.navigation.type == 2)) {
alert('show')
}
});
for (let i = 0; i < 21; i++) { for (let i = 0; i < 21; i++) {
$('.read' + i).hide(); $('.read' + i).hide();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment