mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
b4c7fe4499
commit
13c81f276e
@ -732,7 +732,6 @@ var URLHistoryUIActions = actions.Actions({
|
|||||||
state_saved = true
|
state_saved = true
|
||||||
|
|
||||||
var pins = data.pins
|
var pins = data.pins
|
||||||
var urls = data.urls
|
|
||||||
|
|
||||||
// remove items...
|
// remove items...
|
||||||
to_remove.forEach(function(e){
|
to_remove.forEach(function(e){
|
||||||
@ -741,15 +740,14 @@ var URLHistoryUIActions = actions.Actions({
|
|||||||
var i = pins.indexOf(e)
|
var i = pins.indexOf(e)
|
||||||
i >= 0
|
i >= 0
|
||||||
&& pins.splice(i, 1)
|
&& pins.splice(i, 1)
|
||||||
// urls...
|
// urls to be sorted...
|
||||||
i = urls.indexOf(e)
|
i = to_sort.indexOf(e)
|
||||||
i >= 0
|
i >= 0
|
||||||
&& urls.splice(i, 1)
|
&& to_sort.splice(i, 1)
|
||||||
})
|
})
|
||||||
to_remove = []
|
to_remove = []
|
||||||
|
|
||||||
// sort history...
|
// sort history...
|
||||||
//that.sortURLHistory(urls)
|
|
||||||
that.sortURLHistory(to_sort)
|
that.sortURLHistory(to_sort)
|
||||||
// toggle pins...
|
// toggle pins...
|
||||||
pins
|
pins
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user