diff --git a/lib/photo-sphere-viewer.js b/lib/photo-sphere-viewer.js index 55fe956..c9381b3 100644 --- a/lib/photo-sphere-viewer.js +++ b/lib/photo-sphere-viewer.js @@ -1,5 +1,5 @@ /* -* Photo Sphere Viewer v2.2 +* Photo Sphere Viewer v2.2.1 * http://jeremyheleine.com/#photo-sphere-viewer * * Copyright (c) 2014,2015 Jérémy Heleine @@ -509,7 +509,7 @@ var PhotoSphereViewer = function(args) { * @return (void) **/ - resize = function(size) { + var resize = function(size) { viewer_size.width = (size.width !== undefined) ? parseInt(size.width) : viewer_size.width; viewer_size.height = (size.height !== undefined) ? parseInt(size.height) : viewer_size.height; viewer_size.ratio = viewer_size.width / viewer_size.height; diff --git a/readme.txt b/readme.txt index 12f6e56..3b6306b 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: Jeremy Heleine Tags: Google, Android, Photo Sphere, photos, panoramas, 360-degree, equirectangular Requires at least: 3.1 Tested up to: 4.2.2 -Stable tag: 3.2.1 +Stable tag: 3.2.2 License: MIT License URI: http://opensource.org/licenses/MIT @@ -102,6 +102,9 @@ also use the `min_fov` and `max_fov` attributes. == Changelog == += 3.2.2 = +* Fixed: multiple panoramas on a single page + = 3.2.1 = * Portuguese translation updated @@ -164,6 +167,9 @@ also use the `min_fov` and `max_fov` attributes. == Upgrade Notice == += 3.2.2 = +* Fixed: multiple panoramas on a single page + = 3.2.1 = * Portuguese translation updated diff --git a/wp-photo-sphere.js b/wp-photo-sphere.js index 7622204..6d0134c 100644 --- a/wp-photo-sphere.js +++ b/wp-photo-sphere.js @@ -1,5 +1,5 @@ /* - * This file is part of WP Photo Sphere v3.2.1 + * This file is part of WP Photo Sphere v3.2.2 * http://jeremyheleine.me/#wp-photo-sphere * * Copyright (c) 2013-2015 Jérémy Heleine diff --git a/wp-photo-sphere.php b/wp-photo-sphere.php index c0a97b3..fe971a0 100644 --- a/wp-photo-sphere.php +++ b/wp-photo-sphere.php @@ -1,6 +1,6 @@