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:
parent
da43887d7c
commit
b1f3d169fb
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user