jquery: some remainings [0] errors
This commit is contained in:
parent
31c201fcda
commit
bf51aee607
2 changed files with 2 additions and 2 deletions
|
|
@ -25,7 +25,7 @@ var sidepanelData = [
|
|||
title:'Store',
|
||||
action:()=>{
|
||||
state.quickSave()
|
||||
DOM.get('.quickload').classList.remove('disabled')
|
||||
DOM.get('.quickload')[0].classList.remove('disabled')
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ module.exports = class _switchers_base extends _widgets_base {
|
|||
|
||||
for (var i in widgets) {
|
||||
|
||||
if (widgets[i].widget[0].contains(widget.widget[0])) return true
|
||||
if (widgets[i].childrenHashes.indexOf(widget.hash) != -1) return true
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue