mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
ui: rating history
This commit is contained in:
1 parent
a532f3d7a6
commit
256ff96c57
8 files changed
+86
-7
No files matched your search
@@ -17,7 +17,7 @@ export default class Tab extends DOMAttachedObject {
|
||||
const targetIndex = $(ev.currentTarget).attr('data-tab-index');
|
||||
const $container = $(ev.currentTarget).closest('.section__tab-container');
|
||||
const tabInstance = Tab.get($container);
|
||||
tabInstance.switchToTab(parseInt(targetIndex, 10));
|
||||
tabInstance.switchToTab(+targetIndex);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user