mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
e19d04bfd2
commit
19aedcc8cb
@ -79,6 +79,7 @@ var URLHistoryActions = actions.Actions({
|
||||
// rather than fully rewriting it...
|
||||
pushURLToHistory: ['- History/',
|
||||
function(url, open, check, clear){
|
||||
url = url || this.location.path
|
||||
var l = this.config['url-history-length'] || -1
|
||||
|
||||
if(l == 0){
|
||||
@ -88,7 +89,6 @@ var URLHistoryActions = actions.Actions({
|
||||
this.url_history = this.url_history || {}
|
||||
var item = !clear ? (this.url_history[url] || {}) : {}
|
||||
|
||||
url = url || this.location.path
|
||||
open = item.open = open || this.location.method
|
||||
check = item.check = check || 'checkPath'
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user