mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-06-24 06:13:17 +00:00
Request scrollbars in external windows
This commit is contained in:
parent
789069bb6b
commit
cad5917eeb
|
@ -32,7 +32,7 @@ exports.startup = function() {
|
||||||
width = paramObject.width || "700",
|
width = paramObject.width || "700",
|
||||||
height = paramObject.height || "600";
|
height = paramObject.height || "600";
|
||||||
// Open the window
|
// Open the window
|
||||||
var srcWindow = window.open("","external-" + title,"width=" + width + ",height=" + height),
|
var srcWindow = window.open("","external-" + title,"scrollbars,width=" + width + ",height=" + height),
|
||||||
srcDocument = srcWindow.document;
|
srcDocument = srcWindow.document;
|
||||||
windows[title] = srcWindow;
|
windows[title] = srcWindow;
|
||||||
// Check for reopening the same window
|
// Check for reopening the same window
|
||||||
|
|
Loading…
Reference in New Issue
Block a user