diff options
author | Jose Antonio Marquez | 2012-05-11 15:15:33 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-05-11 15:15:33 -0700 |
commit | d114f222cb48a101ffdb1b88d43823ca16f2c7df (patch) | |
tree | f6aa6548db45bb0d09fc4e01909028d03015e0ec /js/mediators | |
parent | d2e1d4eeba4439ed26f2adf1c34991caf44a591f (diff) | |
download | ninja-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.js | 2 |
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; |