Showing
2 changed files
with
5 additions
and
1 deletions
| ... | ... | @@ -182,6 +182,9 @@ module Kanjai |
| 182 | 182 | js_array << "<script src='#{$scheme}#{ADMIN_CONFIG['domain_name']}#{ActionController::Base.helpers.asset_path('kanjai/frontend_extend.js')}'></script>" |
| 183 | 183 | css_path = "#{$scheme}#{ADMIN_CONFIG['domain_name']}#{ActionController::Base.helpers.asset_path('kanjai/frontend_extend.css')}" |
| 184 | 184 | js_array << "<script type='text/javascript'>$('<link>', {rel: 'stylesheet',type: 'text/css',href: '#{css_path}'}).appendTo('head');</script>" |
| 185 | + | |
| 186 | + css_path = "#{$scheme}#{ADMIN_CONFIG['domain_name']}#{ActionController::Base.helpers.asset_path('kanjai/pdf.css')}" | |
| 187 | + js_array << "<script type='text/javascript'>$('<link>', {rel: 'stylesheet',type: 'text/css',href: '#{css_path}'}).appendTo('head');</script>" | |
| 185 | 188 | layer.gsub!(marker, js_array.join('')) |
| 186 | 189 | end |
| 187 | 190 | when '###INCLUDE_CSS_FILE###' |
| ... | ... | @@ -201,6 +204,7 @@ module Kanjai |
| 201 | 204 | layer.gsub!(/<\/head>/, '<link rel="stylesheet" href="'+ css_path +'"></head>') |
| 202 | 205 | #end |
| 203 | 206 | |
| 207 | + | |
| 204 | 208 | return layer |
| 205 | 209 | |
| 206 | 210 | end | ... | ... |