mirror of
https://github.com/zulip/zulip.git
synced 2026-06-30 21:11:04 +08:00
Fixes #25462. hotkey.js is the file that handles the 'e' keyboard shortcut. It maps to the 'edit_message' event and will simply call message_edit.start(). message_edit.start() doesn't check whether it's already been opened previously, so it will go through and try to register handler for the clipboard button again. When the clipboard button gets clicked, the handler will be called twice. Once with a properly target element, and once with null. Fix this issue by checking if message_edit.start() has already operated on the given $row. |
||
|---|---|---|
| .. | ||
| e2e-tests | ||
| generated | ||
| html | ||
| images | ||
| shared | ||
| src | ||
| styles | ||
| templates | ||
| tests | ||
| third | ||
| .browserslistrc | ||
| .gitignore | ||
| babel.config.js | ||
| debug-require-webpack-plugin.ts | ||
| debug-require.js | ||
| postcss.config.js | ||
| webpack.assets.json | ||
| webpack.config.ts | ||
| webpack.dev-assets.json | ||