From 0caa3b376b856c6a941b831b9fefabe9ed57213d Mon Sep 17 00:00:00 2001 From: dhrname Date: Fri, 11 Nov 2016 23:17:05 +0900 Subject: [PATCH] Lighten the unload event --- org/w3c/dom/smil.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org/w3c/dom/smil.js b/org/w3c/dom/smil.js index 0e7a950..4185ec8 100644 --- a/org/w3c/dom/smil.js +++ b/org/w3c/dom/smil.js @@ -2056,7 +2056,7 @@ function getDocument() var id = __step(), idstop = function() { /*アニメーションを中止する関数*/ - window.cancelAnimationRequest && cancelAnimationRequest(id); + window.cancelAnimationFrame && cancelAnimationFrame(id); }; base("$frame").on("pauseAnimation", idstop); window.addEventListener("unload", idstop); -- 2.11.0