Bug 1647928 follow-up - Fix linting failure. rs=linting a=rjl
authorGeoff Lankow <geoff@darktrojan.net>
Tue, 30 Jun 2020 11:38:06 +1200
changeset 38890 f304dfccd41da73a074881ea2f81da4e15b36367
parent 38889 06b7b54f282ebae6521f6b402ee3bebdccbe0095
child 38891 e5261df827117563d5dfdd8c34b31691f67ae819
push id2649
push userthunderbird@calypsoblue.org
push dateTue, 30 Jun 2020 00:27:57 +0000
treeherdercomm-beta@b7163d202c82 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslinting, rjl
bugs1647928
Bug 1647928 follow-up - Fix linting failure. rs=linting a=rjl
calendar/base/content/dialogs/calendar-event-dialog-attendees.js
--- a/calendar/base/content/dialogs/calendar-event-dialog-attendees.js
+++ b/calendar/base/content/dialogs/calendar-event-dialog-attendees.js
@@ -145,17 +145,18 @@ var eventBar = {
         let img = document.createElement("img");
         img.src = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7";
         event.dataTransfer.setDragImage(img, 0, 0);
         event.dataTransfer.effectAllowed = "move";
         break;
       }
       case "dragover": {
         // Snap dragging movements to half of a minor column width.
-        this.dragDistance = Math.round((event.clientX + freebusyGrid.scrollLeft - this.dragStartX) / 15) * 15;
+        this.dragDistance =
+          Math.round((event.clientX + freebusyGrid.scrollLeft - this.dragStartX) / 15) * 15;
         this.eventBarTop.style.transform = this.eventBarBottom.style.transform = `translateX(${this.dragDistance}px)`;
         break;
       }
       case "dragend": {
         this.dragStartX = null;
         this.eventBarTop.style.transform = this.eventBarBottom.style.transform = null;
 
         let duration = cal.createDuration();