aboutsummaryrefslogtreecommitdiff
path: root/js/controllers
diff options
context:
space:
mode:
authorhwc4872012-05-10 16:53:53 -0700
committerhwc4872012-05-10 16:53:53 -0700
commitd1bcb47ba34f2f2b8db5fa310a9e9a9bd7973988 (patch)
treefe0e80aa7ca2a48b7e54873346c642221267f76a /js/controllers
parentbabfa5f1ca4f702920d81d7e12a90b12ffbf42d8 (diff)
parent632a53278826a33506b302b573ee0681840f2d6c (diff)
downloadninja-d1bcb47ba34f2f2b8db5fa310a9e9a9bd7973988.tar.gz
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into 3DBugs
Diffstat (limited to 'js/controllers')
-rwxr-xr-xjs/controllers/styles-controller.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/controllers/styles-controller.js b/js/controllers/styles-controller.js
index 647c0870..2ff3e235 100755
--- a/js/controllers/styles-controller.js
+++ b/js/controllers/styles-controller.js
@@ -795,7 +795,9 @@ var stylesController = exports.StylesController = Montage.create(Component, {
795 ///// method to apply/test the new value 795 ///// method to apply/test the new value
796 dec.setProperty(property, value, priority); 796 dec.setProperty(property, value, priority);
797 797
798 this.styleSheetModified(rule.parentStyleSheet); 798 if(rule.parentStyleSheet) {
799 this.styleSheetModified(rule.parentStyleSheet);
800 }
799 801
800 ///// Return browser value for value we just set 802 ///// Return browser value for value we just set
801 return dec.getPropertyValue(property); 803 return dec.getPropertyValue(property);