diff --git a/neat.js b/neat.js
index d4234b8..a7ca4c2 100644
--- a/neat.js
+++ b/neat.js
@@ -175,7 +175,12 @@ function setupInterface(data, file, urls) {
img_url = img_url.replace('width', width.toString());
img_url = img_url.replace('height', height.toString());
+ if ($('#enlarge-page-link').length == 0) {
+ $('#preview-rgn').append($('enlarge '));
+ }
+
$("#preview-link").attr("href", img_url);
+ $("#enlarge-page-link").attr("href", img_url);
img_url = urls[data.data[nRow]['url_id']];
@@ -194,7 +199,7 @@ function setupInterface(data, file, urls) {
img_url = img_url.replace('height', height.toString());
if ($('#full-page-link').length == 0) {
- $('#preview-rgn').append($('full page '));
+ $('#preview-rgn').append($('| full '));
}
$("#full-page-link").attr("href", img_url);