Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gormus committed Aug 26, 2024
1 parent 558e63a commit 3436ffa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion javascripts/discourse/initializers/notification-banners.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export default apiInitializer("1.14.0", (api) => {
class="notification-banner
{{banner_is_carousel}}
{{banner_plugin_outlet}}"
style="{{this.bannerColors}}"
style={{this.bannerColors}}
>
<div class="notification-banner__wrapper wrap">
{{#if this.bannerDismissable}}
Expand Down Expand Up @@ -179,6 +179,7 @@ export default apiInitializer("1.14.0", (api) => {

const outlet_name = "splide_options__" + outlet.replaceAll("-", "_");
const outlet_options = JSON.parse(settings[outlet_name]);
// eslint-disable-next-line no-undef
new Splide(`.splide.${outlet}`, outlet_options).mount();
}
});
Expand Down

0 comments on commit 3436ffa

Please sign in to comment.