Ver código fonte

fix 2cal demo

Adam Shaw 7 anos atrás
pai
commit
e95101fb81
1 arquivos alterados com 3 adições e 6 exclusões
  1. 3 6
      demos/external-dragging-2cals.html

+ 3 - 6
demos/external-dragging-2cals.html

@@ -19,12 +19,9 @@
     );
 
     eventEls.forEach(function(eventEl) {
-      new FullCalendar.Draggable({
-        el: eventEl,
-        event: {
-          title: eventEl.innerText.trim(),
-          stick: true
-        }
+      new FullCalendar.Draggable(eventEl, {
+        title: eventEl.innerText.trim(),
+        stick: true
       });
     });