Skip to content

Commit bc47efb

Browse files
author
Pavlo Cherniavskyi
committed
MAGETWO-33622: Junior+ Developer Workflow
- merge fixes
1 parent a525495 commit bc47efb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/View/Page/Config/Renderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ protected function renderAssetHtml($template, $assets)
384384
foreach ($assets as $asset) {
385385
/** @var $asset \Magento\Framework\View\Asset\File */
386386
// todo will be fixed in MAGETWO-33631
387-
if ($this->appMode != \Magento\Framework\App\State::MODE_PRODUCTION) {
387+
if ($this->appMode == \Magento\Framework\App\State::MODE_DEVELOPER) {
388388
if ($asset instanceof \Magento\Framework\View\Asset\File &&
389389
$asset->getSourceUrl() != $asset->getUrl()
390390
) {

0 commit comments

Comments
 (0)