Merge pull request #369 from micmania1/288-fix-mininnerwidth

FIX minInnerWidth should begin with upper-case M
This commit is contained in:
Loz Calver 2016-02-05 09:06:08 +00:00
commit 79bc18aacc
1 changed files with 2 additions and 2 deletions

View File

@ -88,13 +88,13 @@
* see LeftAndMain.Panel.js for base behaviour
*/
$('.blog-admin-sidebar.cms-panel').entwine({
minInnerWidth: 620,
MinInnerWidth: 620,
onadd: function() {
this._super();
this.updateLayout();
// If this panel is open and the left hand column is smaller than the minimum, contract it instead
if(!this.hasClass('collapsed') && ($(".blog-admin-outer").width() < this.getminInnerWidth())) {
if(!this.hasClass('collapsed') && ($(".blog-admin-outer").width() < this.getMinInnerWidth())) {
this.collapsePanel();
}
},