1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-24 17:10:29 +00:00

Fix classic list viewer to use the new browser abstraction layer

This commit is contained in:
Jeremy Ruston 2012-10-26 14:01:11 +01:00
parent da43887d7c
commit b1f3d169fb

View File

@ -51,7 +51,7 @@ ClassicListView.prototype.remove = function(index) {
targetElement.parentNode.insertBefore(wrapperElement,targetElement);
wrapperElement.appendChild(targetElement);
// Attach an event handler for the end of the transition
wrapperElement.addEventListener($tw.browser.transitionEnd,function(event) {
wrapperElement.addEventListener($tw.utils.convertEventName("transitionEnd"),function(event) {
if(wrapperElement.parentNode) {
wrapperElement.parentNode.removeChild(wrapperElement);
}