Fix couple of mobile template issues

This commit is contained in:
Hadi Nategh
2022-09-30 11:39:51 +02:00
parent 780f14b4c5
commit b6398c4059
2 changed files with 2 additions and 2 deletions

View File

@ -482,7 +482,7 @@ egw.extend('links', egw.MODULE_GLOBAL, function()
link_quick_add: function(_parent)
{
// check if quick-add selectbox is already there, only create it again if not
if (document.getElementById('quick_add_selectbox')) return;
if (document.getElementById('quick_add_selectbox') || egwIsMobile()) return;
const select = document.createElement('et2-select');
select.setAttribute('id', 'quick_add_selectbox');