Show More
@@ -153,6 +153,10 define(["components/underscore/underscore-min", | |||||
153 | case 'add_class': |
|
153 | case 'add_class': | |
154 | case 'remove_class': |
|
154 | case 'remove_class': | |
155 | var selector = msg.content.data.selector; |
|
155 | var selector = msg.content.data.selector; | |
|
156 | if (selector === undefined) { | |||
|
157 | selector = ''; | |||
|
158 | } | |||
|
159 | ||||
156 | var class_list = msg.content.data.class_list; |
|
160 | var class_list = msg.content.data.class_list; | |
157 | this._execute_views_method(method, selector, class_list); |
|
161 | this._execute_views_method(method, selector, class_list); | |
158 | break; |
|
162 | break; |
General Comments 0
You need to be logged in to leave comments.
Login now