merge mutiplex fragment fix #395
This commit is contained in:
11
js/reveal.js
11
js/reveal.js
@ -2050,6 +2050,17 @@ var Reveal = (function(){
|
||||
return config;
|
||||
},
|
||||
|
||||
// Returns an index (1-based) of the current fragment
|
||||
getCurrentFragmentIndex : function() {
|
||||
if( currentSlide ) {
|
||||
var visibleFragments = currentSlide.querySelectorAll( '.fragment.visible' );
|
||||
|
||||
if( visibleFragments.length ) {
|
||||
return visibleFragments.length;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
// Helper method, retrieves query string as a key/value hash
|
||||
getQueryHash: function() {
|
||||
var query = {};
|
||||
|
4
js/reveal.min.js
vendored
4
js/reveal.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user