diff options
author | bobzel <zzzman@gmail.com> | 2023-09-02 10:49:04 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-09-02 10:49:04 -0400 |
commit | aa71a67ea048ba03654bf56a9793c06f857a863b (patch) | |
tree | d9d4476189874c521f1a4b68747adc6fad52f44b /src/client/documents/Documents.ts | |
parent | d762e61b4189a7c1b6bc5f13ac35d48d18328788 (diff) |
switched web default to wikipedia from bing since bing search requires scripts. change link doc preview to use showDocument instead of addDocTab so that existing docs can be found.
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r-- | src/client/documents/Documents.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index 919958b24..bfb07325d 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -1084,7 +1084,7 @@ export namespace Docs { const nwid = options._nativeWidth || undefined; const nhght = options._nativeHeight || undefined; if (!nhght && width && height && nwid) options._nativeHeight = (Number(nwid) * Number(height)) / Number(width); - return InstanceFromProto(Prototypes.get(DocumentType.WEB), new WebField(url ? url : 'http://www.bing.com/'), options); + return InstanceFromProto(Prototypes.get(DocumentType.WEB), new WebField(url ? url : 'https://www.wikipedia.org/'), options); } export function HtmlDocument(html: string, options: DocumentOptions = {}) { |