This repository was archived by the owner on Sep 8, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ angular.module('ui.layout', [])
235235 // ensure the min size isn't smaller than the divider size
236236 if ( _dividerSize && _cache . previousElement . min < _dividerSize ) _cache . previousElement . min = _dividerSize ;
237237 } else {
238- _cache . previousElement . min = _dividerSize
238+ _cache . previousElement . min = _dividerSize ;
239239 }
240240
241241 if ( _cache . previousElement . max ) {
@@ -282,7 +282,7 @@ angular.module('ui.layout', [])
282282 if ( ! isNaN ( _cache . previousElement . max ) && the_pos > ( previousElementValue + _cache . previousElement . max ) ) the_pos = ( previousElementValue + _cache . previousElement . max ) ;
283283
284284 // Keep the bar from going past the next elements max/min sizes
285- var nextElementValue = ( _cache . nextElement [ flowProperty ] + _cache . nextElement . width ) / _cache . layoutSize * 100 ;
285+ var nextElementValue = ( _cache . nextElement [ flowProperty ] + _cache . nextElement [ sizeProperty ] ) / _cache . layoutSize * 100 ;
286286 var nextElementMinValue = nextElementValue - _cache . nextElement . min ;
287287 var nextElementMaxValue = nextElementValue - _cache . nextElement . max ;
288288 if ( ! isNaN ( _cache . nextElement . max ) && the_pos < nextElementMaxValue ) the_pos = nextElementMaxValue ;
You can’t perform that action at this time.
0 commit comments