1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00
movim_ynh/sources/app/widgets/Dialog/dialog.js

14 lines
371 B
JavaScript
Raw Normal View History

var Dialog = {
addScroll : function() {
movim_add_class('#dialog', 'scroll');
},
filled : function() {
if(document.querySelector('#dialog').innerHTML != '') { return true; }
return false;
},
clear : function() {
movim_remove_class('#dialog', 'scroll');
document.querySelector('#dialog').innerHTML = '';
}
}