mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
Merge pull request +11639 from c9/error-class
add class c9error to profile and ide
This commit is contained in:
commit
fc4753b7ca
@ -111,7 +111,7 @@ define(function(require, exports, module) {
|
||||
hide();
|
||||
});
|
||||
}
|
||||
error.className = "errorlabel "
|
||||
error.className = "errorlabel c9error "
|
||||
+ (message.className ? message.className : "");
|
||||
|
||||
if (!message.noError) {
|
||||
@ -141,7 +141,7 @@ define(function(require, exports, module) {
|
||||
// Start anim
|
||||
lastClassname = message.className;
|
||||
setTimeout(function() {
|
||||
error.className = "errorlabel anim " + (offset > 0 ? "fade-in" : "")
|
||||
error.className = "errorlabel c9error anim " + (offset > 0 ? "fade-in" : "")
|
||||
+ " " + (message.className || "");
|
||||
error.style.top = (offset + topPx) + "px";
|
||||
error.style.opacity = 1;
|
||||
@ -164,7 +164,7 @@ define(function(require, exports, module) {
|
||||
if (!error || error.style.display === "none")
|
||||
return callback && callback();
|
||||
|
||||
error.className = "errorlabel anim " + (offset > 0 ? "fade-in " : " ")
|
||||
error.className = "errorlabel c9error anim " + (offset > 0 ? "fade-in " : " ")
|
||||
+ (lastClassname ? lastClassname : "");
|
||||
if (offset > 0)
|
||||
error.style.opacity = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user