Big Bad Waffle 4 лет назад
Родитель
Сommit
72e492e918
2 измененных файлов: 8 добавлений и 4 удалений
  1. +8
    -2
      src/client/ui/uiBase.js
  2. +0
    -2
      src/server/config/roles.js

+ 8
- 2
src/client/ui/uiBase.js Просмотреть файл

@@ -96,8 +96,14 @@ define([
},

show: function () {
if (this.modal)
$('.modal').hide();
if (this.modal) {
//Close any other open modal
$('.modal').toArray().forEach(el => {
const ui = $(el).data('ui');
if (ui.shown)
ui.hide();
});
}

this.shown = true;
if (this.isFlex)


+ 0
- 2
src/server/config/roles.js Просмотреть файл

@@ -78,8 +78,6 @@ module.exports = {
if (!account)
return 0;

console.log(account);

return account.extraStashSlots || 0;
},



Загрузка…
Отмена
Сохранить