Skip to content

Commit

Permalink
Removed selector prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
DWethmar committed Jul 10, 2015
1 parent e7c1752 commit 350a0c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Unslider.php
Expand Up @@ -108,7 +108,7 @@ protected function registerAssets() {
UnsliderDefaultAsset::register($view);
}
$options = Json::encode($this->options);
$view->registerJs("jQuery('.$this->selector').unslider($options);");
$view->registerJs("jQuery('$this->selector').unslider($options);");
}

/**
Expand Down

0 comments on commit 350a0c8

Please sign in to comment.