Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Konform/the-wall into Kon…
Browse files Browse the repository at this point in the history
…form-master
  • Loading branch information
plasm committed Oct 5, 2011
2 parents 91fcbc5 + 03281cb commit 258fd9e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Source/wall.js
Expand Up @@ -86,7 +86,8 @@ var Wall = new Class({
showDuration : 3000, // Durata visualizzazione Slideshow showDuration : 3000, // Durata visualizzazione Slideshow
preload : false, // Precarica contenuto preload : false, // Precarica contenuto
callOnUpdate : Function, // Azione on drag/complete callOnUpdate : Function, // Azione on drag/complete
callOnChange : Function // Azione scatenata quando viene impostato id elemento attivo callOnChange : Function, // Azione scatenata quando viene impostato id elemento attivo
detectMobile : true // Detect mobile device
}, },


initialize : function(id, options) { initialize : function(id, options) {
Expand Down Expand Up @@ -266,7 +267,7 @@ var Wall = new Class({
if( this.options.slideshow == true ) this.initSlideshow(); if( this.options.slideshow == true ) this.initSlideshow();


// Inizializza Device Mobile // Inizializza Device Mobile
if( this.detectMobile() ) this.initMobile(); if( this.options.detectMobile && this.detectMobile() ) this.initMobile();


// //
return this; return this;
Expand Down

0 comments on commit 258fd9e

Please sign in to comment.