commit | f8ab670afdfbe6cf88570ddd8ffccdd858f6a84c | [log] [tgz] |
---|---|---|
author | Nasser Grainawi <nasser.grainawi@linaro.org> | Wed Aug 23 14:04:37 2023 -0600 |
committer | Nasser Grainawi <nasser.grainawi@linaro.org> | Wed Aug 23 19:43:10 2023 -0600 |
tree | 4f1c3fab7736825df4fc2ce208950521100a857c | |
parent | fd1956a5c0baf316de35f98d6d83a34437b188e9 [diff] |
Fix Dismiss button to call expected method Since Gerrit v3.4.0 the custom Polymer v1 'tap' event is removed and replaced with the standard 'click' event [1]. [1] 300003: Replace tap by click event | https://gerrit-review.googlesource.com/c/gerrit/+/300003 Change-Id: I700500047780cccc0029d24da55cb837b5380788 Release-Notes: Fixed Dimiss button not persisting until the next day
diff --git a/gr-messageoftheday/gr-messageoftheday-banner_html.js b/gr-messageoftheday/gr-messageoftheday-banner_html.js index 235633e..5174877 100644 --- a/gr-messageoftheday/gr-messageoftheday-banner_html.js +++ b/gr-messageoftheday/gr-messageoftheday-banner_html.js
@@ -29,6 +29,6 @@ <div id="message"></div> <gr-button id="dismissMessageBtn" link - on-tap="_handleDismissMessage">Dismiss</gr-button> + on-click="_handleDismissMessage">Dismiss</gr-button> </div> <gr-rest-api-interface id="restAPI"></gr-rest-api-interface>`;