billing: Use on(click) instead of click handler.

Makes it easy to get the click handler in node tests.
This commit is contained in:
Vishnu Ks 2019-02-27 17:20:03 +05:30 committed by Tim Abbott
parent 50989a3380
commit 5fc538cac0
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ exports.set_tab = function (page) {
$('html').scrollTop(0);
}
$('#' + page + '-tabs.nav-tabs a').click(function () {
$('#' + page + '-tabs.nav-tabs a').on("click", function () {
location.hash = this.hash;
});