mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 00:17:03 +03:00
ko.utils.unwrapObservable => ko.unwrap
This commit is contained in:
parent
1e735bf4a9
commit
cc046907ed
1 changed files with 1 additions and 1 deletions
2
dev/External/User/ko.js
vendored
2
dev/External/User/ko.js
vendored
|
|
@ -177,7 +177,7 @@ ko.bindingHandlers.dropmessages = {
|
||||||
|
|
||||||
ko.bindingHandlers.sortableItem = {
|
ko.bindingHandlers.sortableItem = {
|
||||||
init: (element, fValueAccessor) => {
|
init: (element, fValueAccessor) => {
|
||||||
let options = ko.utils.unwrapObservable(fValueAccessor()) || {},
|
let options = ko.unwrap(fValueAccessor()) || {},
|
||||||
parent = element.parentNode,
|
parent = element.parentNode,
|
||||||
fnHover = e => {
|
fnHover = e => {
|
||||||
if ('sortable' === getDragAction(e)) {
|
if ('sortable' === getDragAction(e)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue