Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'release/1.4.3.4'

  • Loading branch information...
commit 207e75ea99d4a8bd1e35ea45df9f8c66afe7da56 2 parents 9825edf + 8878049
@amalloy amalloy authored
View
2  project.clj
@@ -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"]
View
2  resources/public/script/foreclojure.js
@@ -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
2  src/foreclojure/core.clj
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.