1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 06:07:32 +02:00

Inline support for expandit behavior.

This commit is contained in:
Lóna Lore
2016-03-25 09:32:28 +01:00
parent 2e5cf2b05e
commit 5498c0ac15
2 changed files with 9 additions and 2 deletions

View File

@@ -234,7 +234,14 @@ var e107 = e107 || {'settings': {}, 'behaviors': {}};
{
if($(this).is(':visible'))
{
$(this).css('display', 'block'); //XXX 'initial' broke the default behavior.
if($this.hasClass('e-expandit-inline'))
{
$(this).css('display', 'initial');
}
else
{
$(this).css('display', 'block'); //XXX 'initial' broke the default behavior.
}
}
});