mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-08 18:22:47 -08:00
Fix classic list viewer to use the new browser abstraction layer
This commit is contained in:
parent
da43887d7c
commit
b1f3d169fb
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue