aboutsummaryrefslogtreecommitdiff
path: root/js/controllers/styles-controller.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/controllers/styles-controller.js')
-rwxr-xr-xjs/controllers/styles-controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/controllers/styles-controller.js b/js/controllers/styles-controller.js
index ae504f0e..3a942364 100755
--- a/js/controllers/styles-controller.js
+++ b/js/controllers/styles-controller.js
@@ -111,7 +111,7 @@ var stylesController = exports.StylesController = Montage.create(Component, {
111 set : function(sheet) { 111 set : function(sheet) {
112 if(sheet) { 112 if(sheet) {
113 this._defaultStylesheet = sheet; 113 this._defaultStylesheet = sheet;
114 } else { 114 } else if(this._activeDocument.model && this._activeDocument.model.views && this._activeDocument.model.views.design){//check that the document has a design view
115 115
116 ///// Use the last stylesheet in the document as the default 116 ///// Use the last stylesheet in the document as the default
117 117