Merge pull request #3942 from nextcloud/downstream-27264
Clear onpopstate handlers after unit tests
This commit is contained in:
commit
24a8604426
|
@ -177,6 +177,10 @@ window.isPhantom = /phantom/i.test(navigator.userAgent);
|
|||
delete($.fn.select2);
|
||||
|
||||
ajaxErrorStub.restore();
|
||||
|
||||
// reset pop state handlers
|
||||
OC.Util.History._handlers = [];
|
||||
|
||||
});
|
||||
})();
|
||||
|
||||
|
|
Loading…
Reference in New Issue