]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/GNUsocialPhotos/actions/photos.php
Updating uploaded photos
[quix0rs-gnu-social.git] / plugins / GNUsocialPhotos / actions / photos.php
index d1136008506ea70fdd344004eb0f87f95e0ffea5..5b750a6501ac1227ef0f7683cedbdba7caf85b3d 100644 (file)
@@ -86,10 +86,10 @@ class PhotosAction extends Action
 
         $this->elementStart('div', array('class' => 'galleryheader'));
         $this->element('a', array('href' => '#',
-                                  'onclick' => 'increasePhotoSize()'), '+');
+                                  'onclick' => 'return increasePhotoSize()'), '+');
         $this->raw(' | ');
         $this->element('a', array('href' => '#',
-                                  'onclick' => 'decreasePhotoSize()'), '-');
+                                  'onclick' => 'return decreasePhotoSize()'), '-');
         $this->elementEnd('div');
 
         while ($album->fetch()) {
@@ -127,10 +127,10 @@ class PhotosAction extends Action
             $this->raw(' | ');
         }
         $this->element('a', array('href' => '#',
-                                  'onclick' => 'increasePhotoSize()'), '+');
+                                  'onclick' => 'return increasePhotoSize()'), '+');
         $this->raw(' | ');
         $this->element('a', array('href' => '#',
-                                  'onclick' => 'decreasePhotoSize()'), '-');
+                                  'onclick' => 'return decreasePhotoSize()'), '-');
         $this->elementEnd('div');