Skip to content

Commit

Permalink
bump gallery version
Browse files Browse the repository at this point in the history
  • Loading branch information
FinalAngel committed Feb 28, 2014
1 parent d975329 commit f0537a3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
- name: debug
version: 1.2.2
- name: gallery
version: 2.0.4
version: 2.0.5
- name: lightbox
version: 1.2.0
- name: mobilemenu
Expand Down
4 changes: 4 additions & 0 deletions src/cl.gallery/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
Cl.Gallery
==========

2.0.5
-----
- fixed a small issue with initialization (that/this)

2.0.4
-----
- remove navigation and triggers if gallery only contains one entry
Expand Down
5 changes: 2 additions & 3 deletions src/cl.gallery/cl.gallery.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* @author Aleš Kocjančič, Angelo Dini - github.com/finalangel/classjs-plugins
* @copyright Distributed under the BSD License.
* @version 2.0.4
* @version 2.0.5
*/

// ensure namespace is defined
Expand Down Expand Up @@ -59,9 +59,8 @@ var Cl = window.Cl || {};
this.timer = function () {};
this.callbacks = {};

var that = this;
// this fixes chromes jQuery(window).load issue
if(that.elements.length > 0) this._setup();
if(this.elements.length > 0) this._setup();
},

_setup: function () {
Expand Down
2 changes: 1 addition & 1 deletion src/cl.gallery/cl.gallery.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f0537a3

Please sign in to comment.