mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
some minor tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
ea1c86e191
commit
060f5381d4
@ -1044,8 +1044,6 @@ function loadSettings(){
|
||||
|
||||
// Crop view to only given gids
|
||||
//
|
||||
// Returns the original DATA object.
|
||||
//
|
||||
// XXX make keep_ribbons option work...
|
||||
function cropDataToGIDs(gids, keep_ribbons){
|
||||
var cur = DATA.current
|
||||
@ -1058,7 +1056,9 @@ function cropDataToGIDs(gids, keep_ribbons){
|
||||
],
|
||||
order: DATA.order.slice(),
|
||||
}
|
||||
DATA.current = getGIDBefore(cur, 0)
|
||||
cur = getGIDBefore(cur, 0)
|
||||
cur = cur == null ? gids[0] : cur
|
||||
DATA.current = cur
|
||||
|
||||
reloadViewer()
|
||||
updateImages()
|
||||
|
||||
@ -254,7 +254,7 @@ var toggleSlideShowMode = createCSSClassToggler(
|
||||
|
||||
} else {
|
||||
window._slideshow_timer != null && clearInterval(_slideshow_timer)
|
||||
showStatus('Slideshow: stopped...')
|
||||
showStatus('Slideshow: stopped.')
|
||||
hideOverlay($('.viewer'))
|
||||
}
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user