div wrap for ie

This commit is contained in:
Sanj 2012-01-07 12:57:50 +05:30
parent 96d1dac9fc
commit 8a2a967e40

View File

@ -35,6 +35,7 @@ $('#listLeft ul li a').live("click", function() {
$('#permalinkBtn').attr("href", url);
var searchTerm = $('.searchListField').val();
var html = data.html;
html = "<div>" + html + "</div>"; //Wrap to make IE happy
// globalFoo = html;
if (searchTerm != '') {
for (var i=0; i<searchTerm.split(" ").length; i++) {