diff options
author | Eric Bidelman | 2012-04-13 20:45:28 -0700 |
---|---|---|
committer | Eric Bidelman | 2012-04-13 20:45:28 -0700 |
commit | 5575223f6370024bc3a6a2893d7f5d536bde21a3 (patch) | |
tree | b6e01c299bc752bada14d2752d10af81b3fe274b | |
parent | 1e2fdac517be5bbb8d347ac8a1b59ec0460d5602 (diff) | |
download | io-slides-remote-5575223f6370024bc3a6a2893d7f5d536bde21a3.tar.gz |
Prettyfying urls
-rw-r--r-- | js/slides.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/slides.js b/js/slides.js index f0e3900..cf31aba 100644 --- a/js/slides.js +++ b/js/slides.js | |||
@@ -213,14 +213,14 @@ SlideDeck.prototype.loadConfig_ = function() { | |||
213 | html = [p.name, p.company].join('<br>'); | 213 | html = [p.name, p.company].join('<br>'); |
214 | 214 | ||
215 | var gplus = p.gplus ? '<span>g+</span><a href="' + p.gplus + | 215 | var gplus = p.gplus ? '<span>g+</span><a href="' + p.gplus + |
216 | '">' + p.gplus + '</a>' : ''; | 216 | '">' + p.gplus.replace('http://', '') + '</a>' : ''; |
217 | 217 | ||
218 | var twitter = p.twitter ? '<span>twitter</span>' + | 218 | var twitter = p.twitter ? '<span>twitter</span>' + |
219 | '<a href="http://twitter.com/' + p.twitter + '">' + | 219 | '<a href="http://twitter.com/' + p.twitter + '">' + |
220 | p.twitter + '</a>' : ''; | 220 | p.twitter + '</a>' : ''; |
221 | 221 | ||
222 | var www = p.www ? '<span>www</span><a href="' + p.www + | 222 | var www = p.www ? '<span>www</span><a href="' + p.www + |
223 | '">' + p.www + '</a>' : ''; | 223 | '">' + p.www.replace('http://', '') + '</a>' : ''; |
224 | 224 | ||
225 | var html2 = [gplus, twitter, www].join('<br>'); | 225 | var html2 = [gplus, twitter, www].join('<br>'); |
226 | 226 | ||