andre пре 5 месеци
родитељ
комит
7fadf88111
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      app/UI/Client/Templates/assets/js/setting/index.js

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

@@ -46,7 +46,7 @@ mgEventHandler.on('ModalLoaded', null,function(){
         tempTextarea.val(textToCopy).select();
         tempTextarea.val(textToCopy).select();
         document.execCommand("copy");
         document.execCommand("copy");
         tempTextarea.remove();
         tempTextarea.remove();
-        $(this).val('Wert in die Zwischenablage kopiert!');
+        setInterval($(this).val('Wert in die Zwischenablage kopiert!'), 1000);
     });
     });
 });
 });
 function inArray(needle, haystack) {
 function inArray(needle, haystack) {
@@ -55,4 +55,4 @@ function inArray(needle, haystack) {
         if (haystack[i] === needle) return true;
         if (haystack[i] === needle) return true;
     }
     }
     return false;
     return false;
-}
+}