Merge pull request #3942 from nextcloud/downstream-27264

Clear onpopstate handlers after unit tests
This commit is contained in:
Morris Jobke 2017-03-20 01:12:11 -06:00 committed by GitHub
commit 24a8604426
1 changed files with 4 additions and 0 deletions

View File

@ -177,6 +177,10 @@ window.isPhantom = /phantom/i.test(navigator.userAgent);
delete($.fn.select2);
ajaxErrorStub.restore();
// reset pop state handlers
OC.Util.History._handlers = [];
});
})();