[DE mobile] refactoring

This commit is contained in:
Maxim Kadushkin 2021-04-12 18:10:53 +03:00
parent a9dda7fe6f
commit 84650bb71d

View file

@ -164,14 +164,13 @@ class ContextMenu extends ContextMenuController {
const dialog = f7.dialog.create({
title: _t.menuSplit,
text: '',
content:
'<div class="content-block">' +
'<div class="row">' +
'<div class="col-50">' + _t.textColumns + '</div>' +
'<div class="col-50">' + _t.textRows + '</div>' +
'</div>' +
'<div id="picker-split-size"></div>' +
'</div>',
content: `<div class="content-block">
<div class="row">
<div class="col-50">${_t.textColumns}</div>
<div class="col-50">${_t.textRows}</div>
</div>
<div id="picker-split-size"></div>
</div>`,
buttons: [
{
text: _t.menuCancel