Skip to content

Commit

Permalink
fixed buildmode asset queue bug
Browse files Browse the repository at this point in the history
  • Loading branch information
nadimtuhin committed Oct 26, 2015
1 parent 8a42a84 commit 4173b45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Assets/BuildModeScripts.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class BuildModeScripts {
use FormEngineScripts;

public function __construct() {
add_action( 'wp_enqueue_scripts', [ $this, 'enqueueScripts' ], 999999999);
add_action( 'wp_enqueue_scripts', [ $this, 'enqueueScripts' ], 999999);
add_action( 'wp_enqueue_scripts', function(){
if(!$this->isBuildMode()){
return;
Expand Down

0 comments on commit 4173b45

Please sign in to comment.