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