Kaynağa Gözat

fc-touch class on fc-calendar

Adam Shaw 10 yıl önce
ebeveyn
işleme
3095424ccf
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  1. 4 0
      src/Calendar.js

+ 4 - 0
src/Calendar.js

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