andre 5 месяцев назад
Родитель
Сommit
6b5036e55b
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      app/UI/Client/Templates/assets/js/setting/index.js

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

@@ -39,7 +39,6 @@ mgEventHandler.on('ModalLoaded', null,function(){
         dkim.addClass('lu-alert--warning lu-alert--outline');
         $('.modal-alert-top').addClass('lu-alert--warning');
     }
-    $('input[name$="thurdata"]').attr('title', 'In die Zwischenablage kopieren!');
     $('input[name$="thurdata"]').click(function() {
         var textToCopy = $(this).val();
         var tempTextarea = $("<textarea>");
@@ -47,7 +46,7 @@ mgEventHandler.on('ModalLoaded', null,function(){
         tempTextarea.val(textToCopy).select();
         document.execCommand("copy");
         tempTextarea.remove();
-        $(this).attr('title', 'Wert in die Zwischenablage kopiert!');
+        $(this).val('Wert in die Zwischenablage kopiert!');
     });
 });
 function inArray(needle, haystack) {