shopping-list/bin/index.js
2018-11-14 16:25:50 +01:00

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);
}