diff options
Diffstat (limited to 'itjs.class')
-rw-r--r-- | itjs.class | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -152,6 +152,8 @@ function strip($code) '|\s+/\*.*?\*/|s', # MUST require at least one space before "/*" (jquery.js) but MUST NOT require space before "*/" (searchmap.js) '|^\s+|m' ), array(), $code); + if (EDC('print')) + $code = it::replace(array('@media\s+print' => '@media screen'), $code); return $code; } |