1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-16 02:26:25 +02:00

Quick fix for ajax breaking inactive tabs layout when inserting html. (due to display:block css being added by default by jQuery)

This commit is contained in:
Cameron 2017-01-19 16:12:14 -08:00
parent 74446851f7
commit b5b06536df

View File

@ -625,7 +625,7 @@ var e107 = e107 || {'settings': {}, 'behaviors': {}};
case 'html':
default:
$target.html(data).hide().show("slow");
$target.html(data); // .hide().show("slow"); //XXX this adds display:block by default which breaks loading content within inactive tabs.
break;
}