From 6ae5a3c1aad4ae2ceee46386b3f20aec75e4931a Mon Sep 17 00:00:00 2001 From: Hilton Janfield Date: Sun, 13 Sep 2015 13:21:44 -0700 Subject: [PATCH] Minor cleanup, version number update. --- css/jquery.enhsplitter.css | 2 +- css/jquery.enhsplitter.less | 2 +- js/jquery.enhsplitter.js | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/css/jquery.enhsplitter.css b/css/jquery.enhsplitter.css index 0b17703..fda967d 100644 --- a/css/jquery.enhsplitter.css +++ b/css/jquery.enhsplitter.css @@ -1,7 +1,7 @@ /*! * jQuery Enhanced Splitter Plugin * LESS / CSS File - * Version 1.2.0 + * Version 1.2.1 * * https://github.com/hiltonjanfield/jquery.enhsplitter * diff --git a/css/jquery.enhsplitter.less b/css/jquery.enhsplitter.less index a9c7567..2e69b97 100644 --- a/css/jquery.enhsplitter.less +++ b/css/jquery.enhsplitter.less @@ -1,7 +1,7 @@ /*! * jQuery Enhanced Splitter Plugin * LESS / CSS File - * Version 1.2.0 + * Version 1.2.1 * * https://github.com/hiltonjanfield/jquery.enhsplitter * diff --git a/js/jquery.enhsplitter.js b/js/jquery.enhsplitter.js index e51bcd8..584b870 100644 --- a/js/jquery.enhsplitter.js +++ b/js/jquery.enhsplitter.js @@ -1,7 +1,7 @@ /*! * jQuery Enhanced Splitter Plugin * Main ECMAScript File - * Version 1.2.0 + * Version 1.2.1 * * https://github.com/hiltonjanfield/jquery.enhsplitter * @@ -18,7 +18,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with this program. If not, see . */ -(function ($, undefined) { +(function ($) { var splitterCount = 0; var splitters = []; var currentSplitter = null; // Reference to current splitter during events. @@ -91,7 +91,7 @@ splitterBar.removeClass(v); } }); - splitterBar.addClass('splitter-handle-' + arg1) + splitterBar.addClass('splitter-handle-' + arg1); currentSplitter = null; return this; @@ -195,7 +195,7 @@ splitterSizeHalf: settings.invisible ? 0 : (settings.vertical ? splitter.outerWidth() / 2 : splitter.outerHeight() / 2), refresh: function () { - var newSize = self.settings.vertical ? this.width() : this.height(); + var newSize = self.settings.vertical ? self.width() : self.height(); if (self.containerSize != newSize) { self.containerSize = newSize; self.setPosition(self.currentPosition);