mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-11-23 22:30:41 +01:00
5 lines
225 B
JavaScript
5 lines
225 B
JavaScript
function infoPopUp(infotext, timeout){
|
|
$("#info-popup-text").text(infotext);
|
|
$("#info-popup-text").css("animation", "none");
|
|
setTimeout(function(){$("#info-popup-text").css("animation", "fade 4s linear");}, timeout);
|
|
}
|