Revert "fix: #7216, hide taskbar on chat modal invocation on mobile"

This reverts commit a70db885cf.
This commit is contained in:
Julian Lam
2019-01-11 10:29:08 -05:00
parent bbe05043fc
commit af4fd5979f
2 changed files with 0 additions and 6 deletions

View File

@@ -297,7 +297,6 @@ define('chat', [
module.enableMobileBehaviour = function (modalEl) {
app.toggleNavbar(false);
taskbar.toggleVisibility(false);
modalEl.attr('data-mobile', '1');
var messagesEl = modalEl.find('.modal-body');
messagesEl.css('height', module.calculateChatListHeight(modalEl));
@@ -309,7 +308,6 @@ define('chat', [
module.disableMobileBehaviour = function () {
app.toggleNavbar(true);
taskbar.toggleVisibility(true);
};
module.calculateChatListHeight = function (modalEl) {

View File

@@ -182,9 +182,5 @@ define('taskbar', ['benchpress', 'translator'], function (Benchpress, translator
taskbar.tasklist.find('[data-module="' + module + '"][data-uuid="' + uuid + '"] [component="taskbar/title"]').text(newTitle);
};
taskbar.toggleVisibility = function (visible) {
taskbar.taskbar.toggleClass('hidden', !visible);
};
return taskbar;
});