Skip to content

Commit

Permalink
Fixed the mime type('text/html') in resources
Browse files Browse the repository at this point in the history
  • Loading branch information
zekinah committed Nov 6, 2019
1 parent 03202d9 commit 74e8c10
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions view/frontend/layout/catalog_product_view.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="../../../../../../../lib/internal/Magento/Framework/View/Layout/etc/page_configuration.xsd">
<head>
<css src="css/zone-previousnextproduct-style.css"/>
<link src="js/zone-previousnextproduct-script.js"/>
<css src="Zone_PreviousNextProduct::css/zone-previousnextproduct-style.css"/>
<link src="Zone_PreviousNextProduct::js/zone-previousnextproduct-script.js"/>
</head>
<body>
<referenceContainer name="page.wrapper">
Expand Down
4 changes: 2 additions & 2 deletions view/frontend/templates/product/view/previousnext.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
</div>
<div class="previous-next-action">
<?php if(in_array($prev_product, $keys)): ?>
<a href="<?php print_r($_prev_prod->getProductUrl()); ?>"><span>Previous </span></a>
<a href="<?php print_r($_prev_prod->getProductUrl()); ?>" title="<?php print_r($_prev_prod->getName()); ?>"><span>Previous</span></a>
<span class="divider">/</span>
<?php endif; ?>
<?php if(in_array($next_product, $keys)): ?>
<a href="<?php print_r($_next_prod->getProductUrl()); ?>"><span>Next </span></a>
<a href="<?php print_r($_next_prod->getProductUrl()); ?>" title="<?php print_r($_next_prod->getName()); ?>"><span>Next</span></a>
<?php endif; ?>
</div>
</div>
File renamed without changes.
File renamed without changes.

0 comments on commit 74e8c10

Please sign in to comment.