diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-03-20 01:12:11 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-20 01:12:11 -0600 |
commit | 24a8604426e8c7227021eb237e54f845af5bb18e (patch) | |
tree | 5a99a792a04d786034ede7441a878c3d4c89773e /core | |
parent | ea54afb1b6cf90aa85e99073c0e0290ecdf80d88 (diff) | |
parent | 703f2e6a61bf51e6540a57039d21acb975bd8b69 (diff) | |
download | nextcloud-server-24a8604426e8c7227021eb237e54f845af5bb18e.tar.gz nextcloud-server-24a8604426e8c7227021eb237e54f845af5bb18e.zip |
Merge pull request #3942 from nextcloud/downstream-27264
Clear onpopstate handlers after unit tests
Diffstat (limited to 'core')
-rw-r--r-- | core/js/tests/specHelper.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/js/tests/specHelper.js b/core/js/tests/specHelper.js index f9bdeae0d64..7897a2f2842 100644 --- a/core/js/tests/specHelper.js +++ b/core/js/tests/specHelper.js @@ -177,6 +177,10 @@ window.isPhantom = /phantom/i.test(navigator.userAgent); delete($.fn.select2); ajaxErrorStub.restore(); + + // reset pop state handlers + OC.Util.History._handlers = []; + }); })(); |