Skip to content

Commit

Permalink
Merge branch 'develop' into 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeTowers committed Mar 12, 2021
2 parents e472bb2 + 72f87f2 commit 9992db6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/system/assets/ui/js/list.rowlink.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
})

$(this).addClass(options.linkedClass)
link.after(link.children()).hide()
link.hide().after(link.html())
})

// Add Keyboard Navigation to list rows
Expand Down
2 changes: 1 addition & 1 deletion modules/system/assets/ui/storm-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions modules/system/traits/AssetMaker.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,14 @@ public function addJs($name, $attributes = [])
$name = $this->combineAssets($name, $this->getLocalPath($this->assetPath));
}

// Alias october.* assets to winter.*
if (str_contains($name, 'js/october.')) {
$winterPath = str_replace('js/october.', 'js/winter.', $name);
if (file_exists(base_path(ltrim(parse_url($winterPath, PHP_URL_PATH), '/')))) {
$name = $winterPath;
}
}

$jsPath = $this->getAssetPath($name);

if (isset($this->controller)) {
Expand Down

0 comments on commit 9992db6

Please sign in to comment.