Parcourir la source

fc-touch class on fc-calendar

Adam Shaw il y a 10 ans
Parent
commit
3095424ccf
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4 0
      src/Calendar.js

+ 4 - 0
src/Calendar.js

@@ -518,6 +518,10 @@ function Calendar_constructor(element, overrides) {
 			element.addClass('fc-ltr');
 			element.addClass('fc-ltr');
 		}
 		}
 
 
+		if (FC.isTouchEnabled) {
+			element.addClass('fc-touch');
+		}
+
 		if (options.theme) {
 		if (options.theme) {
 			element.addClass('ui-widget');
 			element.addClass('ui-widget');
 		}
 		}