Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1625)

Unified Diff: Source/devtools/front_end/ui/UIUtils.js

Issue 625893002: DevTools: Run workspace mapping tip infobar animation only once (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaselined Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/devtools/front_end/sourcesView.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/ui/UIUtils.js
diff --git a/Source/devtools/front_end/ui/UIUtils.js b/Source/devtools/front_end/ui/UIUtils.js
index 1ed047d6685ddff5b79b7cf9d2c80a180b0d3e30..9cd3db0da0672c15c2d057ab35f53d4b00c3e2bc 100644
--- a/Source/devtools/front_end/ui/UIUtils.js
+++ b/Source/devtools/front_end/ui/UIUtils.js
@@ -730,13 +730,13 @@ WebInspector.runCSSAnimationOnce = function(element, className)
function animationEndCallback()
{
element.classList.remove(className);
- element.removeEventListener("animationend", animationEndCallback, false);
+ element.removeEventListener("webkitAnimationEnd", animationEndCallback, false);
}
if (element.classList.contains(className))
element.classList.remove(className);
- element.addEventListener("animationend", animationEndCallback, false);
+ element.addEventListener("webkitAnimationEnd", animationEndCallback, false);
element.classList.add(className);
}
« no previous file with comments | « Source/devtools/front_end/sourcesView.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698