1
0
mirror of synced 2024-11-22 21:16:10 +03:00

fix parenthesis mismatches

This commit is contained in:
Igor Vaynberg 2013-01-23 08:57:10 -08:00
parent c12a9d5e9c
commit 7d8409393c

View File

@ -1432,7 +1432,7 @@ the specific language governing permissions and limitations under the Apache Lic
// single
createContainer: function () {
var container = $(document.createElement("div").attr({
var container = $(document.createElement("div")).attr({
"class": "select2-container"
}).html([
" <a href='javascript:void(0)' onclick='return false;' class='select2-choice'>",
@ -1445,7 +1445,7 @@ the specific language governing permissions and limitations under the Apache Lic
" </div>" ,
" <ul class='select2-results'>" ,
" </ul>" ,
"</div>"].join("")));
"</div>"].join(""));
return container;
},
@ -1830,7 +1830,7 @@ the specific language governing permissions and limitations under the Apache Lic
// multi
createContainer: function () {
var container = $(document.createElement("div").attr({
var container = $(document.createElement("div")).attr({
"class": "select2-container select2-container-multi"
}).html([
" <ul class='select2-choices'>",
@ -1842,7 +1842,7 @@ the specific language governing permissions and limitations under the Apache Lic
"<div class='select2-drop select2-drop-multi' style='display:none;'>" ,
" <ul class='select2-results'>" ,
" </ul>" ,
"</div>"].join("")));
"</div>"].join(""));
return container;
},