jmuehlner commented on code in PR #796:
URL: https://github.com/apache/guacamole-client/pull/796#discussion_r1119152660


##########
guacamole/src/main/frontend/src/app/clipboard/directives/guacClipboard.js:
##########
@@ -47,26 +47,21 @@ angular.module('clipboard').directive('guacClipboard', 
['$injector',
     config.controller = ['$scope', '$injector', '$element',
             function guacClipboardController($scope, $injector, $element) {
 
-        /**
-         * The DOM element which will contain the clipboard contents within the
-         * user interface provided by this directive.
-         *
-         * @type Element
-         */
-        var element = $element[0];
-
+        // Default to inactive Clipboard Editor so any contents would be 
hidden.
+        $scope.isActive = false;

Review Comment:
   To match the styling of controllers here, this should have a block comment 
with a `@type` annotation. The one you had for the `scope` config in the 
controller definition would work here.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to