mirror of https://github.com/zulip/zulip.git
billing: Use on(click) instead of click handler.
Makes it easy to get the click handler in node tests.
This commit is contained in:
parent
50989a3380
commit
5fc538cac0
|
@ -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;
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue