mirror of
https://github.com/zulip/zulip.git
synced 2026-07-06 21:18:58 +08:00
Previously, when we load for the first time, the panzoom control is binded by default to the image class. This causes various problems like when a non image class is opened first in lightbox, and some panzoom function is performed on it, even though no panzoom object is binded to them it would perform the function with the object binded to image class, causing it to throw errors when no image has been opened yet in the lightbox. This is fixed by checking if the image class has an img tag in it before performing any functions of the the panzoom object. |
||
|---|---|---|
| .. | ||
| 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 | ||