mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-12-17 16:51:40 +00:00
minor tweak to single ribbon mode...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
3b0d8a5218
commit
ea1c86e191
@ -186,7 +186,9 @@ var toggleSingleRibbonMode = createCSSClassToggler(
|
|||||||
if(action == 'on'){
|
if(action == 'on'){
|
||||||
ALL_DATA = cropDataToGIDs(DATA.ribbons[getRibbonIndex()].slice())
|
ALL_DATA = cropDataToGIDs(DATA.ribbons[getRibbonIndex()].slice())
|
||||||
} else {
|
} else {
|
||||||
|
var cur = DATA.current
|
||||||
DATA = ALL_DATA
|
DATA = ALL_DATA
|
||||||
|
DATA.current = cur
|
||||||
reloadViewer()
|
reloadViewer()
|
||||||
updateImages()
|
updateImages()
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user