use history.pushstate to preserve filters on page refresh
This commit is contained in:
parent
403490364a
commit
c5bf7b523f
1 changed files with 2 additions and 0 deletions
|
|
@ -114,6 +114,8 @@ $(document).ready(function(){
|
|||
photos[guid] = url;
|
||||
});
|
||||
|
||||
|
||||
|
||||
// set url
|
||||
history.pushState(null, document.title, newURL);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue