Browse Source

new info form

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

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

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