aboutsummaryrefslogtreecommitdiff
path: root/js/mediators
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-05-11 15:15:33 -0700
committerJose Antonio Marquez2012-05-11 15:15:33 -0700
commitd114f222cb48a101ffdb1b88d43823ca16f2c7df (patch)
treef6aa6548db45bb0d09fc4e01909028d03015e0ec /js/mediators
parentd2e1d4eeba4439ed26f2adf1c34991caf44a591f (diff)
downloadninja-d114f222cb48a101ffdb1b88d43823ca16f2c7df.tar.gz
Fixing overflow bug for banner templates
Ensuring overflow is visible but saved as hidden.
Diffstat (limited to 'js/mediators')
-rw-r--r--js/mediators/io-mediator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/mediators/io-mediator.js b/js/mediators/io-mediator.js
index 0bff1f3b..c9c7203f 100644
--- a/js/mediators/io-mediator.js
+++ b/js/mediators/io-mediator.js
@@ -83,7 +83,7 @@ exports.IoMediator = Montage.create(Component, {
83 dimensions = {width: String(dimensions[0])+'px', height: String(dimensions[1])+'px'}; 83 dimensions = {width: String(dimensions[0])+'px', height: String(dimensions[1])+'px'};
84 // 84 //
85 content = content.replace(/Dimensions@@@/gi, "Dimensions@@@"+template.id); 85 content = content.replace(/Dimensions@@@/gi, "Dimensions@@@"+template.id);
86 content = content.replace(/ninja-banner {}/gi, "ninja-banner {width: "+dimensions.width+"; height: "+dimensions.height+"}"); 86 content = content.replace(/ninja-banner {}/gi, "ninja-banner {overflow: hidden; width: "+dimensions.width+"; height: "+dimensions.height+"}");
87 } 87 }
88 // 88 //
89 return content; 89 return content;