File tree Expand file tree Collapse file tree 1 file changed +6
-17
lines changed Expand file tree Collapse file tree 1 file changed +6
-17
lines changed Original file line number Diff line number Diff line change @@ -185,23 +185,12 @@ var App = (function ($, publ) {
185
185
this . setPopover ( ) ;
186
186
}
187
187
188
- // Fixing issue with sidebar hide button
189
- $ ( "#hideSidebarButton" ) . on ( 'click' , function ( evt ) {
190
- //setTimeout(function(){
191
- maps . forEach ( function ( m ) {
192
- m . updateSize ( ) ;
193
- } ) ;
194
- //}, 50);
195
- } ) ;
196
-
197
- // Sidebar hack, which does some weird resizing otherwise
198
- if ( $ ( '#sidebar' ) . not ( ':visible' ) ) {
199
- //setTimeout(function(){
200
- maps . forEach ( function ( m ) {
201
- map . updateSize ( ) ;
202
- } ) ;
203
- //}, 50);
204
- }
188
+ // Sidebar hack
189
+ $ ( "#sidebar" ) . on ( 'hideSidebar' , function ( evt ) {
190
+ maps . forEach ( function ( m ) {
191
+ m . updateSize ( ) ;
192
+ } ) ;
193
+ } )
205
194
206
195
// When one or more issues is selected, zoom to selected map features
207
196
$ ( "table.issues tbody tr" ) . on ( 'click' , function ( evt ) {
You can’t perform that action at this time.
0 commit comments