diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/dynamic.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/js/dynamic.js b/js/dynamic.js index 795ba57..08a7375 100644 --- a/js/dynamic.js +++ b/js/dynamic.js @@ -1,5 +1,8 @@ jQuery(function($) { - + // Append ?print to the URL to trigger print preview mode + if (location.href.split('?')[1].indexOf('print') > -1) { + $('link[media=print]').attr('media', ''); + } $('.gmap').each(function(){ |