#1102 - Исправить карту на странице Контакты.

parent 17c185c0
......@@ -10,15 +10,17 @@ function printHtml(html)
mywindow.document.close(); // necessary for IE >= 10
mywindow.focus(); // necessary for IE >= 10
setTimeout(function() {
mywindow.print();
mywindow.close();
}, 200);
return true;
}
$(document).ready(function() {
$('.map_print_button').click(function(){
var html = $(this).closest('.popup').find('.print-block').html() + "<center><img src=\"/images/map_moscow.jpg\"></center>";
var html = $(this).closest('.popup').find('.print-block').html() + "<img src=\"/images/map_moscow.jpg\">";
printHtml(html);
return false;
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment