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 34153 98ce18ce0ea77abdf87ac67e78295989867e3f55
parent 34152 14387ecf405c969076dc3251b6944fce4655d204
child 34154 317ae9663d95ed0826464e2928056fd531f04d2f
push id389
push userclokep@gmail.com
push dateMon, 18 Mar 2019 19:01:53 +0000
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">