diff options
Diffstat (limited to 'addons/web/static/lib')
| -rw-r--r-- | addons/web/static/lib/fullcalendar/timegrid/main.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/web/static/lib/fullcalendar/timegrid/main.js b/addons/web/static/lib/fullcalendar/timegrid/main.js index 086625fac52..0ffebd672ac 100644 --- a/addons/web/static/lib/fullcalendar/timegrid/main.js +++ b/addons/web/static/lib/fullcalendar/timegrid/main.js @@ -267,7 +267,9 @@ Docs & License: https://fullcalendar.io/ } // if the event is short that the title will be cut off, // attach a className that condenses the title into the time area. - if (seg.eventRange.def.title && seg.bottom - seg.top < 30) { + //if (seg.eventRange.def.title && seg.bottom - seg.top < 30) { + // ODOO FIX: fc-short without title as done in 3.0 and 5.0 + if (seg.bottom - seg.top < 30) { seg.el.classList.add('fc-short'); // TODO: "condensed" is a better name } } |
