Skip to content

Commit 3ef55b2

Browse files
author
Igor Chepurnoy
committed
Update IonSlider.php
1 parent 7f4a7b1 commit 3ef55b2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

IonSlider.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,9 @@ protected function registerAssets()
7171
*/
7272
public function getPluginOptions()
7373
{
74-
$this->pluginOptions['type'] = $this->type;
75-
74+
if (!isset($this->pluginOptions['type'])) {
75+
$this->pluginOptions['type'] = $this->type;
76+
}
7677
return Json::encode($this->pluginOptions);
7778
}
7879

0 commit comments

Comments
 (0)