Merge pull request #4293 from Team-D/feature/4274-error_message_vanishes_too_fast
fixes issue 4274 flash-messages stay longer
This commit is contained in:
commit
4710144b02
3 changed files with 6 additions and 3 deletions
|
|
@ -15,6 +15,7 @@
|
|||
* Fix link to background image [#4289](https://github.com/diaspora/diaspora/pull/4289)
|
||||
* Fix Facebox icons 404s when called from Backbone
|
||||
* Fix deleting a post from Facebook [#4290](https://github.com/diaspora/diaspora/pull/4290)
|
||||
* Display notices a little bit longer to help on sign up errors [#4274](https://github.com/diaspora/diaspora/issues/4274)
|
||||
|
||||
## Features
|
||||
* Admin: add option to find users under 13 (COPPA) [#4252](https://github.com/diaspora/diaspora/pull/4252)
|
||||
|
|
|
|||
|
|
@ -8,7 +8,9 @@
|
|||
|
||||
this.animateMessages = function() {
|
||||
var flashMessages = $("#flash_notice, #flash_error, #flash_alert");
|
||||
flashMessages.addClass("expose")
|
||||
flashMessages.addClass("expose");
|
||||
flashMessages.delay(8000);
|
||||
flashMessages.fadeTo(200, 0.5);
|
||||
};
|
||||
|
||||
this.render = function(result) {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
color: #666;
|
||||
|
||||
&.expose {
|
||||
@include animation(expose, 5s)
|
||||
@include animation(expose, 10s)
|
||||
}
|
||||
|
||||
.message {
|
||||
|
|
@ -47,4 +47,4 @@
|
|||
background-color: #CA410B;
|
||||
border-color: darken(#CA410B, 10%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue