more tweaking...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-06-21 22:57:16 +04:00
parent 59168e1113
commit ba38f67c6c
2 changed files with 7 additions and 2 deletions

View File

@ -250,8 +250,9 @@ $(function(){
DATA_ATTR + '_SETTINGS' in localStorage && loadLocalStorageSettings()
// XXX this will reload everything...
// XXX this might load the wrong marks (not sure)...
DATA_ATTR + '_MARKED' in localStorage && loadLocalStorageMarks()
(MARKED.length == 0
&& DATA_ATTR + '_MARKED' in localStorage
&& loadLocalStorageMarks())
updateImages()

View File

@ -684,6 +684,10 @@ function loadDirectory(dfl){
getter('Path to open', dfl)
.done(function(path){
// reset the modes...
toggleSingleImageMode('off')
toggleSingleRibbonMode('off')
path = path.trim()
statusNotify(loadDir(path))
})