Skip to content

Commit

Permalink
fix(admin-report): remove script
Browse files Browse the repository at this point in the history
flot/jquery.flot.resize has known conflict. Since we are going to revamp this page, so removing script for now.

cowboy/jquery-resize#22
  • Loading branch information
ravinderk committed Apr 15, 2018
1 parent 386f57b commit dc8d0eb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion assets/src/js/admin/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import 'accounting';
import 'flot';
import 'flot-orderbars/js/jquery.flot.orderBars';
import 'flot/jquery.flot.time';
import 'flot/jquery.flot.resize';

// Give plugins.
import '../plugins/give-ajaxify-fields';
Expand Down
2 changes: 1 addition & 1 deletion includes/admin/reports/class-give-graph.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public function build_graph() {

$yaxis_count = 1;

$this->load_scripts();
// $this->load_scripts();

ob_start();
?>
Expand Down

0 comments on commit dc8d0eb

Please sign in to comment.