aboutsummaryrefslogtreecommitdiff
path: root/js/slides.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/slides.js')
-rw-r--r--js/slides.js8
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 */
506SlideDeck.prototype.loadAnalytics_ = function() { 510SlideDeck.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