Skip to content
Snippets Groups Projects

Flashcards revisited

Merged Andreas Gärtner requested to merge flashcards-revisited into master
Viewing commit 5ff21f67
Show latest version
3 files
+ 14
1
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -108,6 +108,12 @@ Ext.define('ARSnova.view.CustomCarousel', {
screenWidth = (window.innerWidth > 0) ? window.innerWidth : screen.width,
showNavigationElements = screenWidth >= 840 && innerItemCount > 0 && activeIndex !== -1;
if (showNavigationElements) {
this.addCls('setMaxCaruselWidth');
} else {
this.removeCls('setMaxCaruselWidth');
}
if (showNavigationElements && activeIndex !== 0) {
this.leftArrow.removeCls('hidden');
} else {