Fix splitter does not get resized after container resize

This commit is contained in:
Hadi Nategh 2017-06-26 10:19:11 +02:00
parent 6c92cf97aa
commit 5452c7cbe1

View File

@ -353,7 +353,7 @@ var et2_split = (function(){ "use strict"; return et2_DOMWidget.extend([et2_IRes
} }
} }
} }
if(w != old.w || h != old.h) if(w != old.w || h != old.h || this.left.width() + this.right.width() != this.div.width())
{ {
this.div.trigger('resize.et2_split.'+this.id, this.prefSize); this.div.trigger('resize.et2_split.'+this.id, this.prefSize);
} }