diff options
author | Eric Bidelman | 2012-04-09 17:10:48 -0700 |
---|---|---|
committer | Eric Bidelman | 2012-04-09 17:10:48 -0700 |
commit | 5f5d79dc7395392057028380e876a2883722ee38 (patch) | |
tree | f086b408b909f454a66b64bbb057418de65d703f /js | |
parent | deed0d152700805b8ac4d7f9071b51a6b53491ac (diff) | |
download | io-slides-remote-5f5d79dc7395392057028380e876a2883722ee38.tar.gz |
GA fix
Diffstat (limited to 'js')
-rw-r--r-- | js/slides.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/js/slides.js b/js/slides.js index c28300c..30aee54 100644 --- a/js/slides.js +++ b/js/slides.js | |||
@@ -161,12 +161,16 @@ SlideDeck.prototype.loadConfig_ = function() { | |||
161 | if (settings.title) { | 161 | if (settings.title) { |
162 | document.title = settings.title; | 162 | document.title = settings.title; |
163 | } | 163 | } |
164 | |||
165 | if (settings.title) { | ||
166 | document.title = settings.title; | ||
167 | } | ||
164 | 168 | ||
165 | if (!!!('usePrettify' in settings) || settings.usePrettify) { | 169 | if (!!!('usePrettify' in settings) || settings.usePrettify) { |
166 | prettyPrint(); | 170 | prettyPrint(); |
167 | } | 171 | } |
168 | 172 | ||
169 | if (settings.analyticsId) { | 173 | if (settings.analytics) { |
170 | this.loadAnalytics_(); | 174 | this.loadAnalytics_(); |
171 | } | 175 | } |
172 | 176 | ||
@@ -505,7 +509,7 @@ SlideDeck.prototype.loadTheme_ = function(theme) { | |||
505 | */ | 509 | */ |
506 | SlideDeck.prototype.loadAnalytics_ = function() { | 510 | SlideDeck.prototype.loadAnalytics_ = function() { |
507 | var _gaq = window['_gaq'] || []; | 511 | var _gaq = window['_gaq'] || []; |
508 | _gaq.push(['_setAccount', this.config_.settings.analyticsId]); | 512 | _gaq.push(['_setAccount', this.config_.settings.analytics]); |
509 | //_gaq.push(['_setDomainName', '.bleedinghtml5.appspot.com']); | 513 | //_gaq.push(['_setDomainName', '.bleedinghtml5.appspot.com']); |
510 | _gaq.push(['_trackPageview']); | 514 | _gaq.push(['_trackPageview']); |
511 | 515 | ||