mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 05:29:20 +03:00
Code refactoring
Flow first look
This commit is contained in:
parent
2f841524cb
commit
e6e0b02849
71 changed files with 2092 additions and 1836 deletions
12
dev/External/ko.js
vendored
12
dev/External/ko.js
vendored
|
|
@ -581,7 +581,7 @@ ko.bindingHandlers.initFixedTrigger = {
|
|||
if ($container)
|
||||
{
|
||||
$win.resize(() => {
|
||||
const offset = $container.offset();
|
||||
const offset = $container ? $container.offset() : null;
|
||||
if (offset && offset.top)
|
||||
{
|
||||
$el.css('top', offset.top + top);
|
||||
|
|
@ -654,7 +654,10 @@ ko.bindingHandlers.draggable = {
|
|||
handle: '.dragHandle',
|
||||
cursorAt: {top: 22, left: 3},
|
||||
refreshPositions: true,
|
||||
scroll: true
|
||||
scroll: true,
|
||||
drag: null,
|
||||
stop: null,
|
||||
helper: null
|
||||
};
|
||||
|
||||
if (droppableSelector)
|
||||
|
|
@ -733,7 +736,10 @@ ko.bindingHandlers.droppable = {
|
|||
fOutCallback = fAllValueFunc && fAllValueFunc.droppableOut ? fAllValueFunc.droppableOut : null,
|
||||
conf = {
|
||||
tolerance: 'pointer',
|
||||
hoverClass: 'droppableHover'
|
||||
hoverClass: 'droppableHover',
|
||||
drop: null,
|
||||
over: null,
|
||||
out: null
|
||||
};
|
||||
|
||||
if (fValueFunc)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue