aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/libs/third-party
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2017-07-19 16:56:38 +0200
committerStas Vilchik <stas.vilchik@sonarsource.com>2017-07-21 16:14:07 +0200
commitdccf95202c171899a045fd414f256e7ca22dadc2 (patch)
tree227b88cd5532313dd9bc21b4b99de71909b58f65 /server/sonar-web/src/main/js/libs/third-party
parent04d40d224374526638084d837c6c30819463b511 (diff)
downloadsonarqube-dccf95202c171899a045fd414f256e7ca22dadc2.tar.gz
sonarqube-dccf95202c171899a045fd414f256e7ca22dadc2.zip
SONAR-9583 Use fixed width layout for navigation
Diffstat (limited to 'server/sonar-web/src/main/js/libs/third-party')
-rw-r--r--server/sonar-web/src/main/js/libs/third-party/bootstrap/dropdown.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/libs/third-party/bootstrap/dropdown.js b/server/sonar-web/src/main/js/libs/third-party/bootstrap/dropdown.js
index 9dd4a8b75f4..05606b9ea88 100644
--- a/server/sonar-web/src/main/js/libs/third-party/bootstrap/dropdown.js
+++ b/server/sonar-web/src/main/js/libs/third-party/bootstrap/dropdown.js
@@ -42,7 +42,7 @@
clearMenus()
if (!isActive) {
- if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {
+ if ('ontouchstart' in document.documentElement) {
// if mobile we use a backdrop because click events don't delegate
$('<div class="dropdown-backdrop"/>').insertAfter($(this)).on('click', clearMenus)
}