Code style adjustment
This commit is contained in:
parent
5c18fbeed8
commit
9d5e9a4137
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
multiselect = {
|
multiselect = {
|
||||||
|
|
||||||
ids : []
|
ids: []
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -31,6 +31,7 @@ multiselect.toggleItem = function(object, id) {
|
|||||||
if (album.isSmartID(id)) return
|
if (album.isSmartID(id)) return
|
||||||
|
|
||||||
let pos = $.inArray(id, multiselect.ids)
|
let pos = $.inArray(id, multiselect.ids)
|
||||||
|
|
||||||
if (pos!=-1) {
|
if (pos!=-1) {
|
||||||
multiselect.ids.splice(pos, 1)
|
multiselect.ids.splice(pos, 1)
|
||||||
multiselect.deselect(object)
|
multiselect.deselect(object)
|
||||||
|
Loading…
Reference in New Issue
Block a user