|
@@ -18,7 +18,7 @@ discard block |
|
|
block discarded – undo |
|
18
|
18
|
public function scripts(){ |
|
19
|
19
|
|
|
20
|
20
|
|
|
21
|
|
- // for now editus is disabled for mobile. it will be reenabled when mobile platforms are better supported |
|
|
21
|
+ // for now editus is disabled for mobile. it will be reenabled when mobile platforms are better supported |
|
22
|
22
|
if ( lasso_user_can('edit_posts')) { |
|
23
|
23
|
|
|
24
|
24
|
wp_enqueue_style('lasso-style', LASSO_URL.'/public/assets/css/lasso.css', LASSO_VERSION, true); |
|
@@ -181,7 +181,7 @@ discard block |
|
|
block discarded – undo |
|
181
|
181
|
if ($show_color) { |
|
182
|
182
|
wp_enqueue_script('lasso', LASSO_URL. "/public/assets/js/lasso{$postfix}.js", array('jquery', 'iris'), LASSO_VERSION, true); |
|
183
|
183
|
} else { |
|
184
|
|
- wp_enqueue_script('lasso', LASSO_URL. "/public/assets/js/lasso{$postfix}.js", array('jquery'), LASSO_VERSION, true); |
|
|
184
|
+ wp_enqueue_script('lasso', LASSO_URL. "/public/assets/js/lasso{$postfix}.js", array('jquery'), LASSO_VERSION, true); |
|
185
|
185
|
} |
|
186
|
186
|
wp_localize_script('lasso', 'lasso_editor', apply_filters('lasso_localized_objects', $objects ) ); |
|
187
|
187
|
|
Please login to merge, or discard this patch.