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. 4
      source/js/VMM.Timeline.js
  13. 4
      timeline-min.js
  14. 4
      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

4
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,8 +133,10 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') {
if(window.location.hash) {
var hash = window.location.hash.substring(1);
if (!isNaN(hash)) {
config.current_slide = parseInt(hash);
}
}
window.onhashchange = function () {
if (config.hash_bookmark) {
if (is_moving) {

4
timeline-min.js vendored

File diff suppressed because one or more lines are too long

4
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,8 +4934,10 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') {
if(window.location.hash) {
var hash = window.location.hash.substring(1);
if (!isNaN(hash)) {
config.current_slide = parseInt(hash);
}
}
window.onhashchange = function () {
if (config.hash_bookmark) {
if (is_moving) {

Loading…
Cancel
Save