mirror of
https://github.com/zulip/zulip.git
synced 2026-07-12 21:04:41 +08:00
Previously, dragging an image and dropping it in on itself led to the image being re-uploaded, which is probably not the intent of a user. This commit prevents this reuploading of the same image by explicitly checking if the image is being dragged onto itself, and then rejecting this action. |
||
|---|---|---|
| .. | ||
| 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 | ||