add sortFragmentsOnSync option, makes it possible to avoid unwanted sorting in editing environments like slides.com
This commit is contained in:
1 parent
ea6b7197c7
commit
7de6ccb65b
6 files changed
+11
-5
No files matched your search
+3
-1
@@ -1471,7 +1471,9 @@ export default function( revealElement, options ) {
|
||||
// Write the current hash to the URL
|
||||
location.writeURL();
|
||||
|
||||
fragments.sortAll();
|
||||
if( config.sortFragmentsOnSync === true ) {
|
||||
fragments.sortAll();
|
||||
}
|
||||
|
||||
controls.update();
|
||||
progress.update();
|
||||
|
||||
Reference in new issue
Block a user