Skip to content

Commit

Permalink
Update IonSlider.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Chepurnoy committed Oct 19, 2015
1 parent 7f4a7b1 commit 3ef55b2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions IonSlider.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,9 @@ protected function registerAssets()
*/
public function getPluginOptions()
{
$this->pluginOptions['type'] = $this->type;

if (!isset($this->pluginOptions['type'])) {
$this->pluginOptions['type'] = $this->type;
}
return Json::encode($this->pluginOptions);
}

Expand Down

0 comments on commit 3ef55b2

Please sign in to comment.