mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 05:29:20 +03:00
Bugfix: compose mail select contacts for cc/bcc failed
Cleanup: Inputosaurus and Knockout Change: Knockout domData now uses WeakMap Replaced: Knockout domManipulation with a documentFragment
This commit is contained in:
parent
fe7c7fede4
commit
ebe2c0536f
23 changed files with 410 additions and 889 deletions
|
|
@ -92,10 +92,7 @@
|
|||
}
|
||||
|
||||
function resolveTemplate(errorCallback, templateConfig, callback) {
|
||||
if (typeof templateConfig === 'string') {
|
||||
// Markup - parse it
|
||||
callback(ko.utils.parseHtmlFragment(templateConfig));
|
||||
} else if (templateConfig instanceof Array) {
|
||||
if (templateConfig instanceof Array) {
|
||||
// Assume already an array of DOM nodes - pass through unchanged
|
||||
callback(templateConfig);
|
||||
} else if (templateConfig instanceof DocumentFragment) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue