mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
more tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
59168e1113
commit
ba38f67c6c
@ -250,8 +250,9 @@ $(function(){
|
|||||||
DATA_ATTR + '_SETTINGS' in localStorage && loadLocalStorageSettings()
|
DATA_ATTR + '_SETTINGS' in localStorage && loadLocalStorageSettings()
|
||||||
|
|
||||||
// XXX this will reload everything...
|
// XXX this will reload everything...
|
||||||
// XXX this might load the wrong marks (not sure)...
|
(MARKED.length == 0
|
||||||
DATA_ATTR + '_MARKED' in localStorage && loadLocalStorageMarks()
|
&& DATA_ATTR + '_MARKED' in localStorage
|
||||||
|
&& loadLocalStorageMarks())
|
||||||
|
|
||||||
updateImages()
|
updateImages()
|
||||||
|
|
||||||
|
|||||||
4
ui/ui.js
4
ui/ui.js
@ -684,6 +684,10 @@ function loadDirectory(dfl){
|
|||||||
|
|
||||||
getter('Path to open', dfl)
|
getter('Path to open', dfl)
|
||||||
.done(function(path){
|
.done(function(path){
|
||||||
|
// reset the modes...
|
||||||
|
toggleSingleImageMode('off')
|
||||||
|
toggleSingleRibbonMode('off')
|
||||||
|
|
||||||
path = path.trim()
|
path = path.trim()
|
||||||
statusNotify(loadDir(path))
|
statusNotify(loadDir(path))
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user