Skip to content

Commit

Permalink
fix: weird vspace scale value
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardBaumrock committed Dec 4, 2022
1 parent 2d3fd08 commit bffaf73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RockFrontend.module.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public static function getModuleInfo()
{
return [
'title' => 'RockFrontend',
'version' => '2.9.0',
'version' => '2.9.1',
'summary' => 'Module for easy frontend development',
'autoload' => true,
'singular' => true,
Expand Down Expand Up @@ -242,7 +242,7 @@ function (HookEvent $event) {
// load alfred?
if ($this->loadAlfred()) {
$this->js("rootUrl", $this->wire->config->urls->root);
$this->js("defaultVspaceScale", self::defaultVspaceScale);
$this->js("defaultVspaceScale", number_format(self::defaultVspaceScale, 2, ".", ""));
$this->scripts()->add($this->path . "Alfred.js");
$this->addAlfredStyles();

Expand Down

0 comments on commit bffaf73

Please sign in to comment.