summaryrefslogtreecommitdiff
path: root/itjs.class
diff options
context:
space:
mode:
Diffstat (limited to 'itjs.class')
-rw-r--r--itjs.class2
1 files changed, 2 insertions, 0 deletions
diff --git a/itjs.class b/itjs.class
index 475e91f..3350808 100644
--- a/itjs.class
+++ b/itjs.class
@@ -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;
}