Browse Source

Tweaked next and previous buttons on skinny timeline

pull/246/head
Zach Wise 12 years ago
parent
commit
97b689f67e
  1. 2
      compiled/js/storyjs-embed.js
  2. 6
      compiled/js/timeline-min.js
  3. 10
      compiled/js/timeline.js
  4. 10
      source/js/VMM.Timeline.js

2
compiled/js/storyjs-embed.js

File diff suppressed because one or more lines are too long

6
compiled/js/timeline-min.js vendored

File diff suppressed because one or more lines are too long

10
compiled/js/timeline.js

@ -6725,9 +6725,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') {
VMM.Lib.addClass($timeline, "vco-notouch"); VMM.Lib.addClass($timeline, "vco-notouch");
} }
if (config.width < 640) {
VMM.Lib.addClass($timeline, "vco-skinny");
}
} }
/* ON EVENT /* ON EVENT
@ -7033,6 +7031,12 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') {
*/ */
} }
if (config.width < 640) {
VMM.Lib.addClass($timeline, "vco-skinny");
} else {
VMM.Lib.removeClass($timeline, "vco-skinny");
}
}; };
// BUILD DATE OBJECTS // BUILD DATE OBJECTS

10
source/js/VMM.Timeline.js

@ -263,9 +263,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') {
VMM.Lib.addClass($timeline, "vco-notouch"); VMM.Lib.addClass($timeline, "vco-notouch");
} }
if (config.width < 640) {
VMM.Lib.addClass($timeline, "vco-skinny");
}
} }
/* ON EVENT /* ON EVENT
@ -571,6 +569,12 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') {
*/ */
} }
if (config.width < 640) {
VMM.Lib.addClass($timeline, "vco-skinny");
} else {
VMM.Lib.removeClass($timeline, "vco-skinny");
}
}; };
// BUILD DATE OBJECTS // BUILD DATE OBJECTS

Loading…
Cancel
Save