We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f93cb6f commit 98d7a5aCopy full SHA for 98d7a5a
src/BootstrapBlazor/Components/Modal/Modal.razor.js
@@ -154,13 +154,13 @@ export function dispose(id) {
154
}
155
156
const backupBodyStyle = modal => {
157
- if(modal.originalStyle === void 0) {
+ if (modal.originalStyle === null) {
158
modal.originalStyle = document.body.style.cssText;
159
160
161
162
const restoreBodyStyle = modal => {
163
- if(modal.originalStyle !== void 0) {
+ if (modal.originalStyle !== null) {
164
document.body.style.cssText = modal.originalStyle;
165
delete modal.originalStyle;
166
0 commit comments