kopia lustrzana https://github.com/c9/core
add class c9error to profile and ide
rodzic
4cd3804c39
commit
4cdd1c2b50
|
@ -111,7 +111,7 @@ define(function(require, exports, module) {
|
||||||
hide();
|
hide();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
error.className = "errorlabel "
|
error.className = "errorlabel c9error "
|
||||||
+ (message.className ? message.className : "");
|
+ (message.className ? message.className : "");
|
||||||
|
|
||||||
if (!message.noError) {
|
if (!message.noError) {
|
||||||
|
@ -141,7 +141,7 @@ define(function(require, exports, module) {
|
||||||
// Start anim
|
// Start anim
|
||||||
lastClassname = message.className;
|
lastClassname = message.className;
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
error.className = "errorlabel anim " + (offset > 0 ? "fade-in" : "")
|
error.className = "errorlabel c9error anim " + (offset > 0 ? "fade-in" : "")
|
||||||
+ " " + (message.className || "");
|
+ " " + (message.className || "");
|
||||||
error.style.top = (offset + topPx) + "px";
|
error.style.top = (offset + topPx) + "px";
|
||||||
error.style.opacity = 1;
|
error.style.opacity = 1;
|
||||||
|
@ -164,7 +164,7 @@ define(function(require, exports, module) {
|
||||||
if (!error || error.style.display === "none")
|
if (!error || error.style.display === "none")
|
||||||
return callback && callback();
|
return callback && callback();
|
||||||
|
|
||||||
error.className = "errorlabel anim " + (offset > 0 ? "fade-in " : " ")
|
error.className = "errorlabel c9error anim " + (offset > 0 ? "fade-in " : " ")
|
||||||
+ (lastClassname ? lastClassname : "");
|
+ (lastClassname ? lastClassname : "");
|
||||||
if (offset > 0)
|
if (offset > 0)
|
||||||
error.style.opacity = 0;
|
error.style.opacity = 0;
|
||||||
|
|
Ładowanie…
Reference in New Issue