use internal pointer for current slide
This commit is contained in:
		| @@ -2976,7 +2976,7 @@ | |||||||
| 	function syncSlide( slide ) { | 	function syncSlide( slide ) { | ||||||
|  |  | ||||||
| 		// Default to the current slide | 		// Default to the current slide | ||||||
| 		slide = slide || Reveal.getCurrentSlide(); | 		slide = slide || currentSlide; | ||||||
|  |  | ||||||
| 		syncBackground( slide ); | 		syncBackground( slide ); | ||||||
| 		syncFragments( slide ); | 		syncFragments( slide ); | ||||||
| @@ -2999,7 +2999,7 @@ | |||||||
| 	function syncFragments( slide ) { | 	function syncFragments( slide ) { | ||||||
|  |  | ||||||
| 		// Default to the current slide | 		// Default to the current slide | ||||||
| 		slide = slide || Reveal.getCurrentSlide(); | 		slide = slide || currentSlide; | ||||||
|  |  | ||||||
| 		return sortFragments( slide.querySelectorAll( '.fragment' ) ); | 		return sortFragments( slide.querySelectorAll( '.fragment' ) ); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user