Commit 4252755c by doszhang

dos

parent 719ee03b
......@@ -119,20 +119,11 @@ $(document).ready(function () {
}
};
(function () {
var showCount = 0;
EventUtil.addHandler(window, "load", function () {});
EventUtil.addHandler(window, "pageshow", function (event) {
showCount++;
alert("Show has been fired " + showCount + " times.");
alert('show')
$('#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++) {
$('.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