1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 19:24:01 +02:00

[ticket/11979] Fix errors in dropdown

PHPBB3-11979
This commit is contained in:
Vjacheslav Trushkin
2013-11-20 00:17:28 +02:00
parent 6b39f3b6a7
commit be3bab4946
3 changed files with 8 additions and 2 deletions

View File

@@ -460,8 +460,8 @@ function parse_document(container)
if ($this.hasClass('dropdown-up')) options.verticalDirection = 'up';
if ($this.hasClass('dropdown-down')) options.verticalDirection = 'down';
if ($this.hasClass('dropdown-left')) options.verticalDirection = 'left';
if ($this.hasClass('dropdown-right')) options.verticalDirection = 'right';
if ($this.hasClass('dropdown-left')) options.direction = 'left';
if ($this.hasClass('dropdown-right')) options.direction = 'right';
phpbb.registerDropdown(trigger, contents, options);
});