diff --git a/www/code/inner.js b/www/code/inner.js index dc7f718a1..f17d66b21 100644 --- a/www/code/inner.js +++ b/www/code/inner.js @@ -149,7 +149,10 @@ define([ var $helpMenuButton = UIElements.createDropdownEntry({ tag: 'a', attributes: { 'class': helpMenu.button.attr('class') }, - content: h('span', helpMenu.button.text()), + content: [ + h('i', { 'class': helpMenu.button.children('i').attr('class') }), + h('span', helpMenu.button.text()) + ], action: function () { helpMenu.button.click(); } diff --git a/www/common/onlyoffice/inner.js b/www/common/onlyoffice/inner.js index 8f20f69ab..f47c2835f 100644 --- a/www/common/onlyoffice/inner.js +++ b/www/common/onlyoffice/inner.js @@ -2945,7 +2945,10 @@ Uncaught TypeError: Cannot read property 'calculatedType' of null var $helpMenuButton = UIElements.createDropdownEntry({ tag: 'a', attributes: { 'class': helpMenu.button.attr('class') }, - content: h('span', helpMenu.button.text()), + content: [ + h('i', { 'class': helpMenu.button.children('i').attr('class') }), + h('span', helpMenu.button.text()) + ], action: function () { helpMenu.button.click(); } diff --git a/www/form/inner.js b/www/form/inner.js index 0427f2454..20cf23545 100644 --- a/www/form/inner.js +++ b/www/form/inner.js @@ -4497,7 +4497,10 @@ define([ var $helpMenuButton = UIElements.createDropdownEntry({ tag: 'a', attributes: { 'class': helpMenu.button.attr('class') }, - content: h('span', helpMenu.button.text()), + content: [ + h('i', { 'class': helpMenu.button.children('i').attr('class') }), + h('span', helpMenu.button.text()) + ], action: function () { helpMenu.button.click(); } diff --git a/www/kanban/inner.js b/www/kanban/inner.js index 69fdb9207..52d8320f2 100644 --- a/www/kanban/inner.js +++ b/www/kanban/inner.js @@ -1082,7 +1082,10 @@ define([ var $helpMenuButton = UIElements.createDropdownEntry({ tag: 'a', attributes: { 'class': helpMenu.button.attr('class') }, - content: h('span', helpMenu.button.text()), + content: [ + h('i', { 'class': helpMenu.button.children('i').attr('class') }), + h('span', helpMenu.button.text()) + ], action: function () { helpMenu.button.click(); } diff --git a/www/pad/inner.js b/www/pad/inner.js index 3dc955396..5d3ecafa2 100644 --- a/www/pad/inner.js +++ b/www/pad/inner.js @@ -367,7 +367,10 @@ define([ var $helpMenuButton = UIElements.createDropdownEntry({ tag: 'a', attributes: { 'class': helpMenu.button.attr('class') }, - content: h('span', helpMenu.button.text()), + content: [ + h('i', { 'class': helpMenu.button.children('i').attr('class') }), + h('span', helpMenu.button.text()) + ], action: function () { helpMenu.button.click(); } diff --git a/www/slide/inner.js b/www/slide/inner.js index 5eabc845d..bed3fb61f 100644 --- a/www/slide/inner.js +++ b/www/slide/inner.js @@ -446,7 +446,10 @@ define([ var $helpMenuButton = UIElements.createDropdownEntry({ tag: 'a', attributes: { 'class': helpMenu.button.attr('class') }, - content: h('span', helpMenu.button.text()), + content: [ + h('i', { 'class': helpMenu.button.children('i').attr('class') }), + h('span', helpMenu.button.text()) + ], action: function () { helpMenu.button.click(); } diff --git a/www/whiteboard/inner.js b/www/whiteboard/inner.js index 414e5cf61..58f63496d 100644 --- a/www/whiteboard/inner.js +++ b/www/whiteboard/inner.js @@ -303,7 +303,10 @@ define([ var $helpMenuButton = UIElements.createDropdownEntry({ tag: 'a', attributes: { 'class': helpMenu.button.attr('class') }, - content: h('span', helpMenu.button.text()), + content: [ + h('i', { 'class': helpMenu.button.children('i').attr('class') }), + h('span', helpMenu.button.text()) + ], action: function () { helpMenu.button.click(); }