Commit 04e56030 authored by yoshiki@chromium.org's avatar yoshiki@chromium.org

Remove TOUCH_START event handler from volume_list.js

I've just checked and found it's unnecessary. Touching comes with click events?

BUG=none
TEST=manual
R=mtomasz@chromium.org

Review URL: https://codereview.chromium.org/22384002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215853 0039d316-1c4b-4281-b951-d872f2087c98
parent 86e5ace5
...@@ -311,9 +311,6 @@ VolumeList.prototype.renderRoot_ = function(path) { ...@@ -311,9 +311,6 @@ VolumeList.prototype.renderRoot_ = function(path) {
unmountCommand.execute(item); unmountCommand.execute(item);
}; };
item.addEventListener('eject', handleEject); item.addEventListener('eject', handleEject);
// TODO(yoshiki): Check if the following touch handler is necessary or not.
// If unnecessary, remove it.
item.addEventListener(cr.ui.TouchHandler.EventType.TOUCH_START, handleClick);
if (this.contextMenu_) if (this.contextMenu_)
item.maybeSetContextMenu(this.contextMenu_); item.maybeSetContextMenu(this.contextMenu_);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment