do not include the bushido chat js, just declare a variable instead

This commit is contained in:
did 2011-06-21 20:38:03 +02:00
parent 6ed9788d50
commit be02539695
1 changed files with 4 additions and 4 deletions

View File

@ -19,10 +19,10 @@ module Locomotive
content = ""
response.each { |part| content += part }
# "claiming" bar + stats ?
content.gsub!(/<\/body>/i, <<-STR
<script type="text/javascript">bushido.enableChat();</script>
</body>
# enable chat
content.gsub!(/<\/head>/i, <<-STR
<script type="text/javascript">var _bushido_chat = true;</script>
</head>
STR
)