Skip to content

Commit a4d6166

Browse files
committed
refactor: 重构代码
1 parent e1c2bd8 commit a4d6166

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BootstrapBlazor/wwwroot/modules/fullscreen.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
export async function toggle(options) {
44
let el = null;
5-
options = options || {};
5+
options ||= {};
66
if (options.id) {
77
el = document.getElementById(options.id);
88
}

0 commit comments

Comments
 (0)