Replace tap with click
Change-Id: Ia74a503cbfbb0ff4dda6ca6dddfce69913c5770f
diff --git a/gr-checks/gr-checkers-list.html b/gr-checks/gr-checkers-list.html
index 5eb5a76..88d2045 100644
--- a/gr-checks/gr-checkers-list.html
+++ b/gr-checks/gr-checkers-list.html
@@ -73,7 +73,7 @@
</div>
<div id="createNewContainer"
class$="[[_computeCreateClass(_createNewCapability)]]">
- <gr-button primary link id="createNew" on-tap="_handleCreateClicked">
+ <gr-button primary link id="createNew" on-click="_handleCreateClicked">
Create New
</gr-button>
</div>
@@ -98,7 +98,7 @@
<td class="name">[[item.status]]</td>
<td class="name">[[_computeBlocking(item)]]</td>
<td class="description">[[item.description]]</td>
- <td on-tap="_handleEditIconClicked">
+ <td on-click="_handleEditIconClicked">
<iron-icon icon="gr-icons:edit"></iron-icon>
</td>
</tr>
@@ -109,13 +109,13 @@
<nav>
<template is="dom-if" if="[[_showPrevButton]]">
<a class="nav-buttons" id="prevArrow"
- on-tap="_handlePrevClicked">
+ on-click="_handlePrevClicked">
<iron-icon class="nav-iron-icon" icon="gr-icons:chevron-left"></iron-icon>
</a>
</template>
<template is="dom-if" if="[[_showNextButton]]">
<a class="nav-buttons" id="nextArrow"
- on-tap="_handleNextClicked">
+ on-click="_handleNextClicked">
<iron-icon icon="gr-icons:chevron-right"></iron-icon>
</a>
</template>
diff --git a/gr-checks/gr-checks-chip-view.js b/gr-checks/gr-checks-chip-view.js
index 1447942..36e4c1b 100644
--- a/gr-checks/gr-checks-chip-view.js
+++ b/gr-checks/gr-checks-chip-view.js
@@ -104,7 +104,7 @@
],
listeners: {
- 'tap': 'showChecksTable'
+ 'click': 'showChecksTable'
},
showChecksTable() {
diff --git a/gr-checks/gr-checks-item.html b/gr-checks/gr-checks-item.html
index fb9c669..096408c 100644
--- a/gr-checks/gr-checks-item.html
+++ b/gr-checks/gr-checks-item.html
@@ -24,7 +24,7 @@
</style>
<td>
<template is="dom-if" if="[[check.message]]">
- <iron-icon class="nav-icon" on-tap="_toggleMessageShown"
+ <iron-icon class="nav-icon" on-click="_toggleMessageShown"
icon="[[_computeExpandIcon(showCheckMessage)]]">
</iron-icon>
</template>
@@ -54,7 +54,7 @@
<gr-button
link
no-uppercase
- on-tap="_handleReRunClicked">
+ on-click="_handleReRunClicked">
Re-run
</gr-button>
</td>
diff --git a/gr-checks/gr-checks-view.html b/gr-checks/gr-checks-view.html
index f0f7c94..205dbe6 100644
--- a/gr-checks/gr-checks-view.html
+++ b/gr-checks/gr-checks-view.html
@@ -97,7 +97,7 @@
</style>
<template is="dom-if" if="[[_createCheckerCapability]]">
- <gr-button class="configure-button" on-tap="_handleConfigureClicked"> Configure </gr-button>
+ <gr-button class="configure-button" on-click="_handleConfigureClicked"> Configure </gr-button>
</template>
<template is="dom-if" if="[[_isLoading(_status)]]">
diff --git a/gr-checks/gr-repo-chip.html b/gr-checks/gr-repo-chip.html
index b695fa9..5afd7f6 100644
--- a/gr-checks/gr-repo-chip.html
+++ b/gr-checks/gr-repo-chip.html
@@ -17,7 +17,7 @@
tabindex="-1"
aria-label="Remove"
class="remove"
- on-tap="_handleRemoveTap">
+ on-click="_handleRemove">
<iron-icon icon="gr-icons:close"></iron-icon>
</gr-button>
</template>
diff --git a/gr-checks/gr-repo-chip.js b/gr-checks/gr-repo-chip.js
index 65e85c5..0e1a0bd 100644
--- a/gr-checks/gr-repo-chip.js
+++ b/gr-checks/gr-repo-chip.js
@@ -14,7 +14,7 @@
value: true,
},
},
- _handleRemoveTap(e) {
+ _handleRemove(e) {
e.preventDefault();
this.fire('remove', {repo: this.repo});
},