File tree 2 files changed +4
-2
lines changed
app/code/Magento/Checkout
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ Checkout,Checkout
62
62
Error!,Error!
63
63
"DB exception","DB exception"
64
64
Message,Message
65
- "<a href=""%1"" onclick=""this.target='_blank'"" class=""print""> Print receipt</a> ","<a href=""%1"" onclick=""this.target='_blank'"" class=""print""> Print receipt</a> "
65
+ "Print receipt","Print receipt"
66
66
"Apply Discount Code","Apply Discount Code"
67
67
"Enter discount code","Enter discount code"
68
68
"Apply Discount","Apply Discount"
Original file line number Diff line number Diff line change 10
10
<?php /** @var $block \Magento\Checkout\Block\Onepage\Success */ ?>
11
11
12
12
<?php if ($ block ->getCanViewOrder () && $ block ->getCanPrintOrder ()) :?>
13
- <?= /* @escapeNotVerified */ __ ('<a href="%1" onclick="this.target= \'_blank \'" class="print">Print receipt</a> ' , $ block ->getPrintUrl ()) ?>
13
+ <a href="<?= /* @escapeNotVerified */ $ block ->getPrintUrl () ?> " target="_blank" class="print">
14
+ <?= /* @escapeNotVerified */ __ ('Print receipt ' ) ?>
15
+ </a>
14
16
<?= $ block ->getChildHtml () ?>
15
17
<?php endif ;?>
You can’t perform that action at this time.
0 commit comments