diff options
author | monikahedman <monika_hedman@brown.edu> | 2019-08-20 12:12:58 -0400 |
---|---|---|
committer | monikahedman <monika_hedman@brown.edu> | 2019-08-20 12:12:58 -0400 |
commit | 9a39ac87972243787474d489856818f44b90d524 (patch) | |
tree | 00fefeb187929fd88412314d78f5718ab958d974 /src/client/views/PreviewCursor.tsx | |
parent | b987fe6e18c4b37a1ec40abcb4d8360d57dc7d54 (diff) |
send halp
Diffstat (limited to 'src/client/views/PreviewCursor.tsx')
-rw-r--r-- | src/client/views/PreviewCursor.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/PreviewCursor.tsx b/src/client/views/PreviewCursor.tsx index 40be470d6..d8e161ab6 100644 --- a/src/client/views/PreviewCursor.tsx +++ b/src/client/views/PreviewCursor.tsx @@ -49,7 +49,7 @@ export class PreviewCursor extends React.Component<{}> { } // tests for URL and makes web document - let re: any = /^https?:\/\/www\./g; + let re: any = /^https?:\/\//g; if (re.test(e.clipboardData.getData("text/plain"))) { const url = e.clipboardData.getData("text/plain") PreviewCursor._addDocument(Docs.Create.WebDocument(url, { |