diff --git a/static/js/billing/helpers.js b/static/js/billing/helpers.js index 48304d5225..f1034269b8 100644 --- a/static/js/billing/helpers.js +++ b/static/js/billing/helpers.js @@ -97,10 +97,10 @@ exports.set_tab = function (page) { location.hash = this.hash; }); - $(window).on('hashchange', function () { + window.onhashchange = function () { $('#' + page + '-tabs.nav a[href="' + location.hash + '"]').tab('show'); $('html').scrollTop(0); - }); + }; }; exports.is_valid_input = function (elem) {