Bug 1519114 - Port Bug 1454357 Remove scrollbox binding. r=mkmelin
authorRichard Marti <richard.marti@gmail.com>
Thu, 10 Jan 2019 19:03:05 +0100
changeset 33299 98ce18ce0ea7
parent 33298 14387ecf405c
child 33300 317ae9663d95
push id2368
push userclokep@gmail.com
push dateMon, 28 Jan 2019 21:12:50 +0000
treeherdercomm-beta@56d23c07d815 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmkmelin
bugs1519114, 1454357
Bug 1519114 - Port Bug 1454357 Remove scrollbox binding. r=mkmelin
calendar/base/content/calendar-multiday-view.xml
--- a/calendar/base/content/calendar-multiday-view.xml
+++ b/calendar/base/content/calendar-multiday-view.xml
@@ -2518,23 +2518,16 @@
 
           // initially scroll to the day start hour in the view
           this.scrollToMinute(this.mDayStartMin);
 
           // get visible hours from prefs and set on the view
           let visibleMinutes = Preferences.get("calendar.view.visiblehours", 9) * 60;
           this.setVisibleMinutes(visibleMinutes);
 
-          // set the flex attribute at the scrollbox-innerbox
-          // (this can be removed, after Bug 343555 is fixed)
-          let scrollbox = document.getAnonymousElementByAttribute(
-                         this, "anonid", "scrollbox");
-          document.getAnonymousElementByAttribute(
-              scrollbox, "class", "box-inherit scrollbox-innerbox").flex = "1";
-
           // set the time interval for the time indicator timer
           this.setTimeIndicatorInterval(Preferences.get("calendar.view.timeIndicatorInterval", 15));
           this.enableTimeIndicator();
 
           this.reorient();
       ]]></constructor>
 
       <property name="daysInView" readonly="true">