]> source.dussan.org Git - nextcloud-server.git/commitdiff
Auto-blur when clicking on file to download
authorVincent Petry <pvince81@owncloud.com>
Thu, 15 Jan 2015 17:08:36 +0000 (18:08 +0100)
committerVincent Petry <pvince81@owncloud.com>
Thu, 15 Jan 2015 17:08:36 +0000 (18:08 +0100)
apps/files/js/filelist.js

index 1d7252220bf57343983a6e53cfc969d28b6333cf..f28c24fda87bc93a6475364fb808fa213964830e 100644 (file)
                                                        dir: $tr.attr('data-path') || this.getCurrentDirectory()
                                                });
                                        }
+                                       // deselect row
+                                       $(event.target).closest('a').blur();
                                }
                        }
                },