From 8107b72a1b7f899aef540e8a9c3342c1bafc0013 Mon Sep 17 00:00:00 2001 From: Samuel Clements Date: Tue, 8 Nov 2011 19:34:27 +0000 Subject: [PATCH] Should fix jade throwing silly errors at me. --- views/layout.jade | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/views/layout.jade b/views/layout.jade index e7a264e..70449f9 100644 --- a/views/layout.jade +++ b/views/layout.jade @@ -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 + ' ' + q_name + ''; - } + 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 + ' ' + q_name + ''; + } body div#title Depressionbot web interface !{body}