diff --git a/web/src/app/js/pages/meet.js b/web/src/app/js/pages/meet.js index c026990..eaac313 100644 --- a/web/src/app/js/pages/meet.js +++ b/web/src/app/js/pages/meet.js @@ -1,13 +1,13 @@ app.pages.meet = { load: function(args) { + const dom = document.querySelector('#page-meet #content'); + dom.innerHTML = ''; document.querySelector('#page-meet').removeAttribute('style'); http.get('/api/v1/feed/meet', {}, function(json) { if (json === undefined) return; app.template.loadMany(['meet.item','meet.actions'], function(_) { var _; _ = function () { - const dom = document.querySelector('#page-meet #content'); - dom.innerHTML = ''; for (var i = 0; i < json.length; i++) { var tpl = app.template.fill(json[i], app.template.get('meet.item'), function (k,v) {