move read/write url to location controller

This commit is contained in:
Hakim El Hattab committed 2020-03-10 21:30:39 +01:00
1 parent 3683ad255d
commit e32f38740c
4 files changed
+116 -109

No files matched your search

+1 -1
View File
@@ -264,7 +264,7 @@ export default class Fragments {
this.Reveal.updateProgress();
if( this.Reveal.getConfig().fragmentInURL ) {
this.Reveal.writeURL();
this.Reveal.location.writeURL();
}
return !!( changedFragments.shown.length || changedFragments.hidden.length );