mirror of
https://github.com/Karaka-Management/oms-Search.git
synced 2026-01-11 18:48:41 +00:00
phpcs fixes
This commit is contained in:
parent
dc46217655
commit
51e827c6d7
|
|
@ -36,8 +36,8 @@ jsOMS.Modules.Search = class {
|
|||
* @since 1.0.0
|
||||
*/
|
||||
bind (id) {
|
||||
const e = typeof id === 'undefined' ? document.getElementsByClassName('nav') : [document.getElementById(id)],
|
||||
length = e.length;
|
||||
const e = typeof id === 'undefined' ? document.getElementsByClassName('nav') : [document.getElementById(id)];
|
||||
const length = e.length;
|
||||
|
||||
for (let i = 0; i < length; ++i) {
|
||||
this.bindElement(e[i]);
|
||||
|
|
@ -60,8 +60,8 @@ jsOMS.Modules.Search = class {
|
|||
return;
|
||||
}
|
||||
|
||||
const extend = e.querySelectorAll('li label'),
|
||||
self = this;
|
||||
const extend = e.querySelectorAll('li label');
|
||||
const self = this;
|
||||
|
||||
this.navigation[e.id] = new Search(this.rawNavData[e.id]);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user