aboutsummaryrefslogtreecommitdiff
path: root/js/mediators
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-11 15:49:03 -0700
committerValerio Virgillito2012-05-11 15:49:03 -0700
commit9464de58d5bb8b467829926b9d01c0760ec4d790 (patch)
treef6aa6548db45bb0d09fc4e01909028d03015e0ec /js/mediators
parent1fb663b5f348fe2ff5ce86a80e8a61be289eba70 (diff)
parentd114f222cb48a101ffdb1b88d43823ca16f2c7df (diff)
downloadninja-9464de58d5bb8b467829926b9d01c0760ec4d790.tar.gz
Merge pull request #223 from joseeight/Document
Fixing Overflow
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;