From 8e5cfac34edc9772ba89e0206890c23afa0a6fcc Mon Sep 17 00:00:00 2001 From: Ananya Sen Date: Wed, 13 Jun 2012 16:36:39 -0700 Subject: - Eric Guzman's styles-controller fix for relatively positioned Signed-off-by: Ananya Sen --- js/controllers/styles-controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/controllers/styles-controller.js') diff --git a/js/controllers/styles-controller.js b/js/controllers/styles-controller.js index 8ab07b20..1c1e75ed 100755 --- a/js/controllers/styles-controller.js +++ b/js/controllers/styles-controller.js @@ -1077,7 +1077,7 @@ var stylesController = exports.StylesController = Montage.create(Component, { } ///// Did we find a dominant rule? - else if(!dominantRule) { + if(!dominantRule) { ///// No. This means there was no rule with this property, and no ///// single-target rule we can use to add the style to. ///// There's is no chance of colliding with another rule, so we -- cgit v1.2.3