|
@@ -67,18 +67,31 @@
|
|
|
progress: true,
|
|
|
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
slideNumber: false,
|
|
|
|
|
|
-
|
|
|
-
|
|
|
- hashOneBasedIndex: false,
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
showSlideNumber: 'all',
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+ hashOneBasedIndex: false,
|
|
|
+
|
|
|
|
|
|
|
|
|
hash: false,
|
|
@@ -3262,16 +3275,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
- * Updates the slide number div to reflect the current slide.
|
|
|
- *
|
|
|
- * The following slide number formats are available:
|
|
|
- * "h.v": horizontal . vertical slide number (default)
|
|
|
- * "h/v": horizontal / vertical slide number
|
|
|
- * "c": flattened slide number
|
|
|
- * "c/t": flattened slide number / total slides
|
|
|
- *
|
|
|
- * Alternatively, config.slideNumber can be a function returning a
|
|
|
- * three-element array with arguments to formatSlideNumber().
|
|
|
+ * Updates the slide number to match the current slide.
|
|
|
*/
|
|
|
function updateSlideNumber() {
|
|
|
|
|
@@ -3281,9 +3285,10 @@
|
|
|
var value;
|
|
|
var format = 'h.v';
|
|
|
|
|
|
- if ( typeof config.slideNumber === 'function' ) {
|
|
|
+ if( typeof config.slideNumber === 'function' ) {
|
|
|
value = config.slideNumber();
|
|
|
- } else {
|
|
|
+ }
|
|
|
+ else {
|
|
|
|
|
|
if( typeof config.slideNumber === 'string' ) {
|
|
|
format = config.slideNumber;
|