mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-11-01 11:50:07 +00:00
minor tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
f8812049f6
commit
41ac21f088
@ -1621,12 +1621,12 @@ function setupBaseURLHistory(){
|
||||
.on('baseURLChanged', function(evt, old_url, new_url){
|
||||
if(BASE_URL_HISTORY.indexOf(old_url) < 0){
|
||||
BASE_URL_HISTORY.splice(0, 0, old_url)
|
||||
}
|
||||
|
||||
// truncate the history if needed...
|
||||
if(BASE_URL_HISTORY.length > BASE_URL_LIMIT){
|
||||
BASE_URL_HISTORY.splice(BASE_URL_LIMIT, BASE_URL_HISTORY.length)
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user