mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-02-14 08:28:40 +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)
|
jsOMS.UI.GeneralUI.prototype.bindHref = function (e)
|
||||||
{
|
{
|
||||||
const e = e !== null ? e.querySelectorAll('[data-href]') : document.querySelectorAll('[data-href]'),
|
e = e !== null ? e.querySelectorAll('[data-href]') : document.querySelectorAll('[data-href]');
|
||||||
length = e.length;
|
const length = e.length;
|
||||||
|
|
||||||
for(let i = 0; i < length; i++) {
|
for(let i = 0; i < length; i++) {
|
||||||
e[i].addEventListener('click', function(event) {
|
e[i].addEventListener('click', function(event) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user