kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Fix classic list viewer to use the new browser abstraction layer
rodzic
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);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue