Skip to content

Commit 4a683a7

Browse files
Adjusted homepage Strike notification
1 parent 46315a0 commit 4a683a7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

aljs-ember-app/aljs.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,13 @@ App.AljsView = Ember.View.extend({
7676
}
7777

7878
if (notification.length) {
79+
notification.removeClass('show');
80+
7981
var closeButton = $('.js-close-button', notification);
8082

8183
setTimeout(function() {
8284
notification.addClass('show');
83-
}, 1500);
85+
}, 1000);
8486

8587
closeButton.click(function() {
8688
notification.removeClass('show');

aljs-ember-app/templates/home.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<header class="site-masthead slds-grid aljs-home-header">
22
<div class="slds-notify_container">
3-
<div class="slds-notify slds-notify--alert slds-theme--alert-texture js-notification" role="alert">
3+
<div class="slds-notify slds-notify--alert slds-theme--alert-texture js-notification show" role="alert">
44
<button class="slds-button slds-notify__close slds-button--icon-inverse js-close-button" title="Close">
55
<svg class="slds-button__icon" aria-hidden="true">
66
<use xlink:href="assets/icons/utility-sprite/svg/symbols.svg#close"></use>

0 commit comments

Comments
 (0)