port Yann's multiple-select implementation to cryptpad

This commit is contained in:
ansuz
2016-05-31 12:27:28 +02:00
parent e3b8a10959
commit d0b553d198
3 changed files with 9 additions and 1 deletions

View File

@@ -91,7 +91,7 @@ define([
return function (content) {
return typeof content !== 'undefined' ?
$this.val(content):
canonicalize($this.val());
typeof($this.val()) === 'string'? canonicalize($this.val()): $this.val();
};
}
}());