Skip to content

Commit 6f42d1e

Browse files
authored
Merge pull request #98 from leek/patch-1
Only include CSS/JS if module is enabled
2 parents 086e0ed + 77557d5 commit 6f42d1e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

design/layout/sheep_debug.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
<default>
55
<reference name="head">
66
<reference name="head">
7-
<action method="addItem">
7+
<action method="addItem" ifconfig="sheep_debug/options/enable">
88
<type>skin_js</type>
99
<name>sheep_debug/js/toolbar.js</name>
1010
</action>
11-
<action method="addItem">
11+
<action method="addItem" ifconfig="sheep_debug/options/enable">
1212
<type>skin_js</type>
1313
<name>sheep_debug/js/profile.js</name>
1414
</action>
15-
<action method="addItem">
15+
<action method="addItem" ifconfig="sheep_debug/options/enable">
1616
<type>skin_css</type>
1717
<name>sheep_debug/css/toolbar.css</name>
1818
</action>

0 commit comments

Comments
 (0)