Fix close banner button

Clicking on the 'X' to close the banner does nothing since this.message
in closeBanner() is undefined. This change fixes this issue and tweaks
the button to be more accessible for users.

Change-Id: I930bb55bd3dc06789ef17de7d05f48bf32cdd950
1 file changed
tree: 1546e007cff7a41e4e22cfc4c288c9aaddf7add5
  1. src/
  2. test/
  3. .eslintrc.json
  4. .gitignore
  5. BUILD
  6. codereview.settings
  7. LICENSE
  8. OWNERS
  9. package-lock.json
  10. package.json
  11. polymer.json
  12. README.md
  13. run-with-prod-data.sh
  14. WATCHLISTS
  15. wct.conf.json
README.md

Chrome/Chromium behavior theme for Gerrit

To run unit tests

$ npm run wct-test

To test with Gerrit FE Dev Helper

Make sure the plugin is installed in plugins/ of Gerrit repository.

$ cd ../.. # Gerrit root directory
$ bazel build plugins/chromium-behavior:chromium-behavior
$ cp -f bazel-bin/plugins/chromium-behavior/chromium-behavior-bundle.js plugins/
$ cd plugins/chromium-behavior
$ run-with-prod-data.sh