Skip to content

Commit

Permalink
fix kwhperiod issue when using apikey
Browse files Browse the repository at this point in the history
  • Loading branch information
TrystanLea committed Aug 13, 2022
1 parent a6fa837 commit d5fedbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Views/dashboard_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
var dashid = <?php echo $dashboard['id']; ?>;
var widget = <?php echo json_encode($widgets); ?>;
var apikey = "<?php echo $apikey; ?>";
feed.apikey = apikey;
var redraw = 1;
var reloadiframe = 0; // dont re-calculate vis iframe urls
var _SI = []; // get a list of International System of Units (SI)
Expand Down
2 changes: 1 addition & 1 deletion dashboard_controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function dashboard_controller()
$dashboard = new Dashboard($mysqli);
// id, userid, content, height, name, alias, description, main, public, published, showdescription, fullscreen

$js_css_version = 12;
$js_css_version = 14;

$result = false; $submenu = '';

Expand Down

0 comments on commit d5fedbe

Please sign in to comment.