Browse Source

new info form

andre 5 months ago
parent
commit
738fabe1b3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/UI/Client/Templates/assets/js/setting/index.js

+ 2 - 2
app/UI/Client/Templates/assets/js/setting/index.js

@@ -47,7 +47,7 @@ mgEventHandler.on('ModalLoaded', null,function(){
         document.execCommand("copy");
         document.execCommand("copy");
         tempTextarea.remove();
         tempTextarea.remove();
         $(this).val('Wert in die Zwischenablage kopiert');
         $(this).val('Wert in die Zwischenablage kopiert');
-        $(this).css("background-color","red");
+        $(this).css("background-color","#e9ebf0");
         setTimeout(restoreVal, 1000, [this, textToCopy]);
         setTimeout(restoreVal, 1000, [this, textToCopy]);
     });
     });
 });
 });
@@ -60,5 +60,5 @@ function inArray(needle, haystack) {
 }
 }
 function restoreVal([element,value]) {
 function restoreVal([element,value]) {
     $(element).val(value);
     $(element).val(value);
-    $(this).css("background-color","");
+    $(element).css("background-color","");
 }
 }