Skip to content

Commit 2dcc8ba

Browse files
committed
tweaking showme.js
1 parent 249ce0c commit 2dcc8ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

showme.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
if (document.location.hash) {
66
str = document.location.hash.replace(/^#/,"");
77
if (str.match(/^data:text\/html.*?base64,/)) {
8-
str = str.replace(/^data:text\/html.*?base64,/);
8+
str = str.replace(/^data:text\/html.*?base64,/,"");
99
document.write(atob(str));
1010
}
1111
}

0 commit comments

Comments
 (0)