mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 06:19:24 +01:00
Should fix jade throwing silly errors at me.
This commit is contained in:
parent
6ebedfd451
commit
8107b72a1b
@ -5,15 +5,15 @@ html(lang: 'en')
|
||||
link(rel: 'stylesheet', type: 'text/css', href: '/styles.css')
|
||||
title Depressionbot web interface
|
||||
script
|
||||
var quotes = document.getElementsByTagName("a");
|
||||
var i, ii;
|
||||
for (i = 0, ii = quotes.length; i < ii; i++) {
|
||||
var quote = quotes[i];
|
||||
var q_name = quote.innerHTML;
|
||||
var img = new Image();
|
||||
img.src = 'http://dl.dropbox.com/u/13375195/depressionbot/images/quoted/' + q_name + '.gif';
|
||||
quote.innerHTML = img.outerHTML + ' <span>' + q_name + '</span>';
|
||||
}
|
||||
var quotes = document.getElementsByTagName("a");
|
||||
var i, ii;
|
||||
for (i = 0, ii = quotes.length; i < ii; i++) {
|
||||
var quote = quotes[i];
|
||||
var q_name = quote.innerHTML;
|
||||
var img = new Image();
|
||||
img.src = 'http://dl.dropbox.com/u/13375195/depressionbot/images/quoted/' + q_name + '.gif';
|
||||
quote.innerHTML = img.outerHTML + ' <span>' + q_name + '</span>';
|
||||
}
|
||||
body
|
||||
div#title Depressionbot web interface
|
||||
!{body}
|
||||
|
Loading…
Reference in New Issue
Block a user