summaryrefslogtreecommitdiffstats
path: root/files/js/files.js
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-11-04 03:02:51 +0100
committerRobin Appelman <icewind1991@gmail.com>2011-11-04 03:08:00 +0100
commitbf18568e176481f416b28be0e3ee663777031219 (patch)
tree51139281b903728a02810ff4dc3fd847c30991e9 /files/js/files.js
parent2c68aab1983c912e52af6c0f62bc04850178894b (diff)
downloadnextcloud-server-bf18568e176481f416b28be0e3ee663777031219.tar.gz
nextcloud-server-bf18568e176481f416b28be0e3ee663777031219.zip
small styling fix for New button
Diffstat (limited to 'files/js/files.js')
-rw-r--r--files/js/files.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/js/files.js b/files/js/files.js
index 4f9cde49aa9..4ff1e931c0b 100644
--- a/files/js/files.js
+++ b/files/js/files.js
@@ -265,7 +265,7 @@ $(document).ready(function() {
$(window).click(function(){
$('#new>ul').hide();
$('#new').removeClass('active');
- $('input.file_upload_filename').removeClass('active');
+ $('button.file_upload_filename').removeClass('active');
$('#new li').each(function(i,element){
if($(element).children('p').length==0){
$(element).children('input').remove();
@@ -279,7 +279,7 @@ $(document).ready(function() {
$('#new>a').click(function(){
$('#new>ul').toggle();
$('#new').toggleClass('active');
- $('input.file_upload_filename').toggleClass('active');
+ $('button.file_upload_filename').toggleClass('active');
});
$('#new li').click(function(){
if($(this).children('p').length==0){