mirror of https://github.com/zulip/zulip.git
c41c82aae0
This commit fixes two issues with the previous implementation: 1. JavaScript's replace replaces only the first instance, thus we need to use a regex. 2. Handlebars was setting the id of the HTML elements with spaces in between which broke the delete button; now a new variable display_name is passed to the template. This also makes changes to the casper tests to have an emoji name with multiple spaces in it to ensure this bug doesn't appear again. |
||
---|---|---|
.. | ||
casper_lib | ||
casper_tests | ||
node_tests | ||
zjsunit | ||
.eslintrc.json | ||
run-casper |