diff --git a/guacamole/src/main/webapp/app/client/directives/guacFileBrowser.js b/guacamole/src/main/webapp/app/client/directives/guacFileBrowser.js index f5a8c684d..26be23b48 100644 --- a/guacamole/src/main/webapp/app/client/directives/guacFileBrowser.js +++ b/guacamole/src/main/webapp/app/client/directives/guacFileBrowser.js @@ -162,7 +162,7 @@ angular.module('client').directive('guacFileBrowser', [function guacFileBrowser( } // Mark file as focused upon click - element.on('click', function focusFile(e) { + element.on('click', function handleFileClick() { // Fire file-specific action if already focused if (element.hasClass('focused')) { @@ -176,10 +176,6 @@ angular.module('client').directive('guacFileBrowser', [function guacFileBrowser( element.addClass('focused'); } - // Do not allow default action - e.preventDefault(); - e.stopPropagation(); - }); // Prevent text selection during navigation