fixes #1922
This commit is contained in:
@@ -23,11 +23,13 @@
|
||||
|
||||
Danbooru.notice = function(msg) {
|
||||
$('#notice').addClass("ui-state-highlight").removeClass("ui-state-error").fadeIn("fast").children("span").html(msg);
|
||||
setTimeout(function() {
|
||||
$("#close-notice-link").click();
|
||||
}, 6000);
|
||||
}
|
||||
|
||||
Danbooru.error = function(msg) {
|
||||
$('#notice').removeClass("ui-state-highlight").addClass("ui-state-error").fadeIn("fast").children("span").html(msg);
|
||||
Danbooru.scroll_to($("#notice"));
|
||||
}
|
||||
|
||||
Danbooru.is_subset = function(array, subarray) {
|
||||
|
||||
@@ -11,8 +11,13 @@ div.error-messages {
|
||||
div#notice {
|
||||
margin: 1em 0;
|
||||
padding: 1em;
|
||||
position: fixed;
|
||||
top: 1em;
|
||||
right: 1em;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
a#close-notice-link {
|
||||
float: right;
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user