shopping-list/public_html/js/index.js

6 lines
225 B
JavaScript
Raw Normal View History

2018-11-14 16:25:50 +01:00
function infoPopUp(infotext, timeout){
2018-11-09 15:17:00 +01:00
$("#info-popup-text").text(infotext);
$("#info-popup-text").css("animation", "none");
2018-11-14 16:25:50 +01:00
setTimeout(function(){$("#info-popup-text").css("animation", "fade 4s linear");}, timeout);
2018-11-09 15:17:00 +01:00
}