mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-11 09:58:39 +00:00
Fix assignment bug
This commit is contained in:
parent
49c61bac1e
commit
dd9f3843a6
|
|
@ -57,8 +57,8 @@
|
|||
*/
|
||||
jsOMS.UI.GeneralUI.prototype.bindHref = function (e)
|
||||
{
|
||||
const e = e !== null ? e.querySelectorAll('[data-href]') : document.querySelectorAll('[data-href]'),
|
||||
length = e.length;
|
||||
e = e !== null ? e.querySelectorAll('[data-href]') : document.querySelectorAll('[data-href]');
|
||||
const length = e.length;
|
||||
|
||||
for(let i = 0; i < length; i++) {
|
||||
e[i].addEventListener('click', function(event) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user