$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()) {
$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');