Skip to content

Commit

Permalink
fixed class name assets
Browse files Browse the repository at this point in the history
  • Loading branch information
buttflattery committed Jan 18, 2020
1 parent 1b74363 commit 306ab54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FormWizard.php
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ private function _setDefaults()
$this->_bsVersion = $this->forceBsVersion;
} else {
//is bs4 version
$isBs4 = class_exists(BS4Asset::class);
$isBs4 = class_exists(Bs4Assets::class);
$this->_bsVersion = $isBs4 ? self::BS_3 : self::BS_4;
}

Expand Down Expand Up @@ -585,7 +585,7 @@ classRestore:'{$this->classRestore}',

//if bootstrap3 loaded
$isBs3 = $this->_bsVersion == self::BS_3;

//cerate the form
$this->createForm($isBs3);

Expand Down

0 comments on commit 306ab54

Please sign in to comment.