Version Description
- Fixed social icons bug
Download this release
Release Info
Developer | GreenTreeLabs |
Plugin | Gallery – Photo Gallery – Image Gallery |
Version | 1.1.2 |
Comparing to | |
See all releases |
Code changes from version 1.1.1 to 1.1.2
- Modula.php +1 -1
- README.txt +3 -0
- scripts/jquery.modula.js +5 -5
Modula.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Gallery A WordPress Modula Grid
|
|
4 |
Plugin URI: http://modula.greentreelabs.net
|
5 |
Description: The Best Wordpress Gallery.
|
6 |
Author: GreenTreeLabs
|
7 |
-
Version: 1.1.
|
8 |
Author URI: http://modula.greentreelabs.net
|
9 |
*/
|
10 |
|
4 |
Plugin URI: http://modula.greentreelabs.net
|
5 |
Description: The Best Wordpress Gallery.
|
6 |
Author: GreenTreeLabs
|
7 |
+
Version: 1.1.2
|
8 |
Author URI: http://modula.greentreelabs.net
|
9 |
*/
|
10 |
|
README.txt
CHANGED
@@ -83,6 +83,9 @@ The simplest way to install is to click on \'Plugins\' then \'Add\' and type \'M
|
|
83 |
|
84 |
== Changelog ==
|
85 |
|
|
|
|
|
|
|
86 |
= 1.1.1 =
|
87 |
* Bug fix
|
88 |
|
83 |
|
84 |
== Changelog ==
|
85 |
|
86 |
+
= 1.1.2 =
|
87 |
+
* Fixed social icons bug
|
88 |
+
|
89 |
= 1.1.1 =
|
90 |
* Bug fix
|
91 |
|
scripts/jquery.modula.js
CHANGED
@@ -385,7 +385,7 @@ function tg_getURLParameter(name) {
|
|
385 |
|
386 |
this.$items.each(function (i, tile) {
|
387 |
var $tile = $(tile);
|
388 |
-
$tile.
|
389 |
});
|
390 |
}
|
391 |
|
@@ -419,7 +419,7 @@ function tg_getURLParameter(name) {
|
|
419 |
|
420 |
var setupTwitter = function ($tiles, plugin) {
|
421 |
addSocialIcon($tiles, "icon icon-twitter", "Twitter");
|
422 |
-
$tiles.find(".
|
423 |
e.preventDefault();
|
424 |
var $caption = $(this).parents(".tile:first").find(".caption");
|
425 |
var text = plugin.options.twitterText || document.title;
|
@@ -433,7 +433,7 @@ function tg_getURLParameter(name) {
|
|
433 |
|
434 |
var setupFacebook = function ($tiles, plugin) {
|
435 |
addSocialIcon($tiles, "icon icon-facebook", "Facebook");
|
436 |
-
$tiles.find(".
|
437 |
e.preventDefault();
|
438 |
|
439 |
var image = $(this).parents(".tile:first").find(".pic");
|
@@ -463,7 +463,7 @@ function tg_getURLParameter(name) {
|
|
463 |
|
464 |
var setupPinterest = function ($tiles, plugin) {
|
465 |
addSocialIcon($tiles, "icon icon-pinterest", "Pinterest");
|
466 |
-
$tiles.find(".
|
467 |
e.preventDefault();
|
468 |
|
469 |
var image = $(this).parents(".tile:first").find(".pic");
|
@@ -488,7 +488,7 @@ function tg_getURLParameter(name) {
|
|
488 |
|
489 |
var setupGplus = function ($tiles, plugin) {
|
490 |
addSocialIcon($tiles, "icon icon-google-plus", "G+");
|
491 |
-
$tiles.find(".
|
492 |
e.preventDefault();
|
493 |
|
494 |
var url = "https://plus.google.com/share?url=" + encodeURI(location.href);
|
385 |
|
386 |
this.$items.each(function (i, tile) {
|
387 |
var $tile = $(tile);
|
388 |
+
$tile.append("<div class='jtg-social' />");
|
389 |
});
|
390 |
}
|
391 |
|
419 |
|
420 |
var setupTwitter = function ($tiles, plugin) {
|
421 |
addSocialIcon($tiles, "icon icon-twitter", "Twitter");
|
422 |
+
$tiles.find(".icon-twitter").click(function (e) {
|
423 |
e.preventDefault();
|
424 |
var $caption = $(this).parents(".tile:first").find(".caption");
|
425 |
var text = plugin.options.twitterText || document.title;
|
433 |
|
434 |
var setupFacebook = function ($tiles, plugin) {
|
435 |
addSocialIcon($tiles, "icon icon-facebook", "Facebook");
|
436 |
+
$tiles.find(".icon-facebook").click(function (e) {
|
437 |
e.preventDefault();
|
438 |
|
439 |
var image = $(this).parents(".tile:first").find(".pic");
|
463 |
|
464 |
var setupPinterest = function ($tiles, plugin) {
|
465 |
addSocialIcon($tiles, "icon icon-pinterest", "Pinterest");
|
466 |
+
$tiles.find(".icon-pinterest").click(function (e) {
|
467 |
e.preventDefault();
|
468 |
|
469 |
var image = $(this).parents(".tile:first").find(".pic");
|
488 |
|
489 |
var setupGplus = function ($tiles, plugin) {
|
490 |
addSocialIcon($tiles, "icon icon-google-plus", "G+");
|
491 |
+
$tiles.find(".icon-google-plus").click(function (e) {
|
492 |
e.preventDefault();
|
493 |
|
494 |
var url = "https://plus.google.com/share?url=" + encodeURI(location.href);
|