mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 04:29:21 +03:00
Small code cleanups and fix translations
This commit is contained in:
parent
b31bf3d7f5
commit
7ccc44616d
54 changed files with 288 additions and 426 deletions
3
dev/External/User/ko.js
vendored
3
dev/External/User/ko.js
vendored
|
|
@ -3,6 +3,7 @@ import ko from 'ko';
|
|||
import { HtmlEditor } from 'Common/Html';
|
||||
import { timeToNode } from 'Common/Momentor';
|
||||
import { EmailModel } from 'Model/Email';
|
||||
import { doc } from 'Common/Globals';
|
||||
|
||||
const rlContentType = 'snappymail/action',
|
||||
|
||||
|
|
@ -111,7 +112,7 @@ ko.bindingHandlers.dragmessages = {
|
|||
if (!rl.settings.app('mobile')) {
|
||||
element.addEventListener("dragstart", e => {
|
||||
let data = fValueAccessor()(e);
|
||||
dragImage || (dragImage = document.getElementById('messagesDragImage'));
|
||||
dragImage || (dragImage = doc.getElementById('messagesDragImage'));
|
||||
if (data && dragImage) {
|
||||
dragImage.querySelector('.text').textContent = data.uids.length;
|
||||
let img = dragImage.querySelector('.icon-white');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue