Skip to content

Commit fb58b88

Browse files
committed
edit js/ditto
1 parent 373710e commit fb58b88

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

js/ditto.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -250,11 +250,6 @@ function router() {
250250

251251
var perc = ditto.save_progress ? store.get('page-progress') || 0 : 0;
252252

253-
if (location.hash !== '' ditto.save_progress && store.get('menu-progress') !== location.hash) {
254-
store.set('menu-progress', location.hash);
255-
store.set('page-progress', 0);
256-
}
257-
258253
if(location.hash !== '' || Boolean(perc)){
259254
if (ditto.save_progress && store.get('menu-progress') !== location.hash){
260255
$('html, body').animate({

0 commit comments

Comments
 (0)