Permalink
Browse files

Merge branch 'release/1.4.3.4'

  • Loading branch information...
2 parents 9825edf + 8878049 commit 207e75ea99d4a8bd1e35ea45df9f8c66afe7da56 @amalloy amalloy committed Oct 1, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 project.clj
  2. +1 −1 resources/public/script/foreclojure.js
  3. +1 −1 src/foreclojure/core.clj
View
@@ -1,4 +1,4 @@
-(defproject foreclojure "1.4.3.3"
+(defproject foreclojure "1.4.3.4"
:description "4clojure - a website for lisp beginners"
:dependencies [[clojure "1.2.1"]
[clojure-contrib "1.2.0"]
@@ -115,7 +115,7 @@ function configureDataTables(){
function setIconColor(element, color, timeOut) {
timeOut = (typeof timeOut == "undefined") ? 0 : timeOut
setTimeout (function() {
- element.src = "/images/"+color+"light.png";
+ element.src = element.src.replace(new RegExp("(.*/images/).*(light.png)"), "$1" + color + "$2");
}, timeOut);
}
View
@@ -71,7 +71,7 @@
(for [[host route] [[config/static-host resource-routes]
[config/dynamic-host dynamic-routes]]
:when host]
- [host (wrap-debug route)])]))
+ [host route])]))
(def app (-> (split-hosts host-handlers)
wrap-404

0 comments on commit 207e75e

Please sign in to comment.