| Index: remoting/webapp/app_remoting/js/context_menu_dom.js
|
| diff --git a/remoting/webapp/app_remoting/js/context_menu_dom.js b/remoting/webapp/app_remoting/js/context_menu_dom.js
|
| index c81482e691e387943eb8a3405c4ec470b0f918c6..03fb4e62cc2f3baebc4759f014cb41b08b2a5f73 100644
|
| --- a/remoting/webapp/app_remoting/js/context_menu_dom.js
|
| +++ b/remoting/webapp/app_remoting/js/context_menu_dom.js
|
| @@ -41,24 +41,24 @@ remoting.ContextMenuDom = function(root) {
|
| * @private
|
| */
|
| this.stub_ = /** @type {HTMLElement} */
|
| - this.root_.querySelector('.context-menu-stub');
|
| + (this.root_.querySelector('.context-menu-stub'));
|
| /**
|
| * @type {HTMLElement}
|
| * @private
|
| */
|
| this.icon_ = /** @type {HTMLElement} */
|
| - this.root_.querySelector('.context-menu-icon');
|
| + (this.root_.querySelector('.context-menu-icon'));
|
| /**
|
| * @type {HTMLElement}
|
| * @private
|
| */
|
| this.screen_ = /** @type {HTMLElement} */
|
| - this.root_.querySelector('.context-menu-screen');
|
| + (this.root_.querySelector('.context-menu-screen'));
|
| /**
|
| * @type {HTMLElement}
|
| * @private
|
| */
|
| - this.menu_ = /** @type {HTMLElement} */ this.root_.querySelector('ul');
|
| + this.menu_ = /** @type {HTMLElement} */ (this.root_.querySelector('ul'));
|
| /**
|
| * @type {number}
|
| * @private
|
| @@ -84,7 +84,7 @@ remoting.ContextMenuDom = function(root) {
|
| */
|
| this.stubDragged_ = false;
|
|
|
| - /*
|
| + /**
|
| * @private
|
| */
|
| this.dragAndDrop_ = new remoting.DragAndDrop(
|
| @@ -194,7 +194,7 @@ remoting.ContextMenuDom.prototype.remove = function(id) {
|
| };
|
|
|
| /**
|
| - * @param {function(OnClickData):void} listener
|
| + * @param {function(OnClickData=):void} listener
|
| */
|
| remoting.ContextMenuDom.prototype.addListener = function(listener) {
|
| this.eventSource_.addEventListener(this.eventName_, listener);
|
|
|