summaryrefslogtreecommitdiff
path: root/template/default/library.js
diff options
context:
space:
mode:
Diffstat (limited to 'template/default/library.js')
-rw-r--r--template/default/library.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/default/library.js b/template/default/library.js
index 778fb3e..d7f65f3 100644
--- a/template/default/library.js
+++ b/template/default/library.js
@@ -25,8 +25,8 @@ function callurl( url ) {
image.src = url + "&rand=" + Now.getTime();
}
-function popup(URL) {
- window.open(URL, '_new', 'width=500, height=250, scrollbars=yes, resizable=yes, toolbar=no, status=no');
+function popup(URL, win_w, win_h) {
+ window.open(URL, '_new', 'width=' + win_w + ', height=' + win_h + ', scrollbars=yes, resizable=yes, toolbar=no, status=no');
}
function toolbar(URL) {