mirror of https://github.com/zulip/zulip.git
c008ba1172
Throughout the codebase there is currently one usage of `autofocus` excepts in test files. The only one usage is in `signup.js` and was supposed to pass a `JQuery` selector to `autofocus` rather than a string. Passing a selector is more convenient in this case: The selector accessed in `signup.js` is ready to `trigger` the `focus` function, while getting a attirubte string from the selector and then passing to `autofocus` and then accessing the selector by attribute cost extra layers of work. Therefore writing this commit to simplify the type for easy usage. Fixes the test case(s) accordingly. |
||
---|---|---|
.. | ||
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 |