mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-10-29 12:46:34 +01:00
add sortFragmentsOnSync option, makes it possible to avoid unwanted sorting in editing environments like slides.com
This commit is contained in:
@@ -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