mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
spelling: fragments
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
1 parent
b6c5ed6930
commit
272de142b4
1 file changed
+1
-1
@@ -81,7 +81,7 @@ export class Preferences extends React.Component {
|
|||||||
const fragment = hash.slice(1); // hash is /^(#\w.)?$/
|
const fragment = hash.slice(1); // hash is /^(#\w.)?$/
|
||||||
|
|
||||||
if (fragment) {
|
if (fragment) {
|
||||||
// ignore empty framents
|
// ignore empty fragments
|
||||||
document.getElementById(fragment)?.scrollIntoView();
|
document.getElementById(fragment)?.scrollIntoView();
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
|
|||||||
Reference in new issue
Block a user