GUAC-1293: Rename click handler sensibly. No need to prevent default, etc. for clicks.

This commit is contained in:
Michael Jumper committed 2015-08-13 13:24:24 -07:00
1 parent ae642030b3
commit a2efb47e3c
1 file changed
+1 -5
@@ -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