aboutsummaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2017-09-28 17:48:40 +0200
committerGitHub <noreply@github.com>2017-09-28 17:48:40 +0200
commitd58c0e68343185fe37293fa3901ced348e23bb9b (patch)
treebdc7805bd944f97429a2973f940337b32c9f8a05 /core/js
parentb17ca81df07166fed99afd224cf301b7746df5bb (diff)
parentb9a8ba7a2361d6a1d1bbf6acf20abac58ac2ed91 (diff)
downloadnextcloud-server-d58c0e68343185fe37293fa3901ced348e23bb9b.tar.gz
nextcloud-server-d58c0e68343185fe37293fa3901ced348e23bb9b.zip
Merge pull request #6669 from nextcloud/various-css-fixes
Various css fixes
Diffstat (limited to 'core/js')
-rw-r--r--core/js/apps.js4
-rw-r--r--core/js/singleselect.js1
2 files changed, 4 insertions, 1 deletions
diff --git a/core/js/apps.js b/core/js/apps.js
index 4daab5ce4c4..8aebbbd418c 100644
--- a/core/js/apps.js
+++ b/core/js/apps.js
@@ -78,11 +78,15 @@
area.slideUp(OC.menuSpeed*4, function() {
area.trigger(new $.Event('hide'));
});
+ area.removeClass('opened');
+ $(button).removeClass('opened');
}
function showArea() {
area.slideDown(OC.menuSpeed*4, function() {
area.trigger(new $.Event('show'));
});
+ area.addClass('opened');
+ $(button).addClass('opened');
var input = $(areaSelector + ' [autofocus]');
if (input.length === 1) {
input.focus();
diff --git a/core/js/singleselect.js b/core/js/singleselect.js
index cd0dd52651a..94f7da82640 100644
--- a/core/js/singleselect.js
+++ b/core/js/singleselect.js
@@ -42,7 +42,6 @@
input.tipsy({gravity: gravity, trigger: 'manual'});
input.tipsy('show');
}
- select.css('background-color', 'white');
input.focus();
}
});