aboutsummaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
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();
}
});