Skip to content

Commit

Permalink
Merge pull request #369 from micmania1/288-fix-mininnerwidth
Browse files Browse the repository at this point in the history
FIX minInnerWidth should begin with upper-case M
  • Loading branch information
kinglozzer committed Feb 5, 2016
2 parents 9526e13 + 2b2e13f commit 79bc18a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/cms.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
},
Expand Down

0 comments on commit 79bc18a

Please sign in to comment.