Skip to content

Commit

Permalink
changed poorly named option
Browse files Browse the repository at this point in the history
  • Loading branch information
ljurgs committed Jun 8, 2012
1 parent dc3457e commit 1034ad9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ECollapse.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function() {
* ECollapse::ARROW_SET_C
* </pre>
*/
public $iconSet = self::ARROW_SET_A;
public $arrowSet = self::ARROW_SET_A;
/**
* @var string the arrow size to use. Only used if {@link cssFile} is not set.
* <pre>Possible values:
Expand Down Expand Up @@ -188,7 +188,7 @@ public function registerClientScript() {
$clientScript->registerCssFile($this->_assetUrl . $defaultCss);
//apply the class in the default css to the head elements
$javascript .= "jQuery('$this->selector $this->head').addClass('jq-c-h');";
$javascript .= "jQuery('$this->selector $this->head').addClass('jq-c-{$this->iconSet}');";
$javascript .= "jQuery('$this->selector $this->head').addClass('jq-c-{$this->arrowSet}');";
$javascript .= "jQuery('$this->selector $this->head').addClass('jq-c-{$this->arrowSize}');";
$javascript .= "jQuery('$this->selector $this->head').addClass('jq-c-{$this->arrowPosition}');";
} else {
Expand Down

0 comments on commit 1034ad9

Please sign in to comment.