some minor tweaks...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-06-19 15:34:31 +04:00
parent ea1c86e191
commit 060f5381d4
2 changed files with 4 additions and 4 deletions

View File

@ -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()

View File

@ -254,7 +254,7 @@ var toggleSlideShowMode = createCSSClassToggler(
} else {
window._slideshow_timer != null && clearInterval(_slideshow_timer)
showStatus('Slideshow: stopped...')
showStatus('Slideshow: stopped.')
hideOverlay($('.viewer'))
}
})