-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding a try catch around set RTL #1950
Adding a try catch around set RTL #1950
Conversation
@soorajpurandare, |
localStorage.setItem('isRTL', isRTL ? '1' : '0'); | ||
try { | ||
localStorage.setItem('isRTL', isRTL ? '1' : '0'); | ||
} catch (e) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it looks like the comment may not be closed properly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a rush change file to update utilities.
If your remote for the officedev repo is called "upstream", you can run npm run change -- -b upstream/master
Pull request checklist
$ npm run change
Description of changes
(give an overview)
Focus areas to test
(optional)