mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 14:18:27 +01:00
Mobile navigation: width detection problem (#5587)
This commit is contained in:
parent
c47d9f219d
commit
89b0410349
@ -40,3 +40,4 @@
|
||||
- Enh #5127: LDAP: Reset mapping for single user only
|
||||
- Fix #5581: Fix long words in comment form
|
||||
- Fix #5578: Improved `rememberMe` parameter handling for thirdparty auth provider
|
||||
- Fix #5340: Mobile navigation: width detection problem
|
||||
|
@ -23,7 +23,7 @@ TopNavigationAsset::register($this);
|
||||
<?= Yii::t('base', 'Menu'); ?>
|
||||
<b class="caret"></b>
|
||||
</a>
|
||||
<ul id="top-menu-sub-dropdown" class="dropdown-menu">
|
||||
<ul id="top-menu-sub-dropdown" class="dropdown-menu dropdown-menu-right">
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
@ -27,9 +27,6 @@ humhub.module('ui.topNavigation', function (module, require, $) {
|
||||
|
||||
while (isOverflow() && moveNextItemToDropDown($topMenuDropdown)) {}
|
||||
|
||||
// We remove the next dropdown for edgecases, e.g. the scrollbar appears after init
|
||||
moveNextItemToDropDown($topMenuDropdown);
|
||||
|
||||
$topBarSecond.css('overflow', '');
|
||||
$('#top-menu-sub').find('.dropdown-toggle').dropdown();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user