From e1dae0d5200837cc8632374a3a116fb18b1c5064 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20D=C3=ADaz?= Date: Sat, 5 Jan 2019 22:43:34 +0100 Subject: [PATCH] [IMP] Unsed assignament --- hotel_calendar/static/src/lib/hcalendar/js/hcalendar.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hotel_calendar/static/src/lib/hcalendar/js/hcalendar.js b/hotel_calendar/static/src/lib/hcalendar/js/hcalendar.js index 0cfece543..ae1fb0506 100644 --- a/hotel_calendar/static/src/lib/hcalendar/js/hcalendar.js +++ b/hotel_calendar/static/src/lib/hcalendar/js/hcalendar.js @@ -1804,7 +1804,7 @@ HotelCalendar.prototype = { reserv._html.style.borderLeftWidth = '0'; reserv._html.style.width = `${(boundsEnd.left-boundsInit.left)+boundsEnd.width-2}px`; } - + if (reserv._drawModes[1] === 'soft-end') { has_changed = true; reserv._html.style.borderRightWidth = '3px'; @@ -1818,7 +1818,6 @@ HotelCalendar.prototype = { } if (reserv.splitted && !has_changed) { - has_changed = true; reserv._html.style.left = `${boundsInit.left-etableOffset.left-1}px`; reserv._html.style.width = `${(boundsEnd.left-boundsInit.left)+boundsEnd.width+2}px`; }