[IMP] Unsed assignament

This commit is contained in:
Alexandre Díaz
2019-01-05 22:43:34 +01:00
parent 0fddc7cd4a
commit e1dae0d520

View File

@@ -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`;
}