Browse Source

Fixed a bug where a hash in the url that is not a slide number would cause an error on load

pull/75/head
Zach Wise 13 years ago
parent
commit
d7884f0c7e
  1. 4
      locale/de.js
  2. 4
      locale/en.js
  3. 4
      locale/es.js
  4. 4
      locale/fr.js
  5. 4
      locale/is.js
  6. 4
      locale/it.js
  7. 4
      locale/kr.js
  8. 4
      locale/nl.js
  9. 4
      locale/pt-br.js
  10. 4
      locale/zh-ch.js
  11. 4
      locale/zh-tw.js
  12. 6
      source/js/VMM.Timeline.js
  13. 4
      timeline-min.js
  14. 6
      timeline.js

4
locale/de.js

File diff suppressed because one or more lines are too long

4
locale/en.js

File diff suppressed because one or more lines are too long

4
locale/es.js

File diff suppressed because one or more lines are too long

4
locale/fr.js

File diff suppressed because one or more lines are too long

4
locale/is.js

File diff suppressed because one or more lines are too long

4
locale/it.js

File diff suppressed because one or more lines are too long

4
locale/kr.js

File diff suppressed because one or more lines are too long

4
locale/nl.js

File diff suppressed because one or more lines are too long

4
locale/pt-br.js

File diff suppressed because one or more lines are too long

4
locale/zh-ch.js

File diff suppressed because one or more lines are too long

4
locale/zh-tw.js

File diff suppressed because one or more lines are too long

6
source/js/VMM.Timeline.js

@ -57,7 +57,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') {
timeline_id = "#timeline";
}
version = "0.98.7";
version = "0.98.71";
trace("TIMELINE VERSION " + version);
@ -133,7 +133,9 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') {
if(window.location.hash) {
var hash = window.location.hash.substring(1);
config.current_slide = parseInt(hash);
if (!isNaN(hash)) {
config.current_slide = parseInt(hash);
}
}
window.onhashchange = function () {
if (config.hash_bookmark) {

4
timeline-min.js vendored

File diff suppressed because one or more lines are too long

6
timeline.js

@ -4858,7 +4858,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') {
timeline_id = "#timeline";
}
version = "0.98.7";
version = "0.98.71";
trace("TIMELINE VERSION " + version);
@ -4934,7 +4934,9 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') {
if(window.location.hash) {
var hash = window.location.hash.substring(1);
config.current_slide = parseInt(hash);
if (!isNaN(hash)) {
config.current_slide = parseInt(hash);
}
}
window.onhashchange = function () {
if (config.hash_bookmark) {

Loading…
Cancel
Save