Skip to content

Commit

Permalink
Merge pull request #98 from leek/patch-1
Browse files Browse the repository at this point in the history
Only include CSS/JS if module is enabled
  • Loading branch information
madalinoprea authored Mar 30, 2017
2 parents 086e0ed + 77557d5 commit 6f42d1e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions design/layout/sheep_debug.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
<default>
<reference name="head">
<reference name="head">
<action method="addItem">
<action method="addItem" ifconfig="sheep_debug/options/enable">
<type>skin_js</type>
<name>sheep_debug/js/toolbar.js</name>
</action>
<action method="addItem">
<action method="addItem" ifconfig="sheep_debug/options/enable">
<type>skin_js</type>
<name>sheep_debug/js/profile.js</name>
</action>
<action method="addItem">
<action method="addItem" ifconfig="sheep_debug/options/enable">
<type>skin_css</type>
<name>sheep_debug/css/toolbar.css</name>
</action>
Expand Down

0 comments on commit 6f42d1e

Please sign in to comment.