Skip to content
Browse files

Merge branch 'master' of https://github.com/Konform/the-wall into Kon…

…form-master
  • Loading branch information...
2 parents 91fcbc5 + 03281cb commit 258fd9ed13e6fc1c00f334843da2b59089bd5472 @plasm committed Oct 5, 2011
Showing with 3 additions and 2 deletions.
  1. +3 −2 Source/wall.js
View
5 Source/wall.js
@@ -86,7 +86,8 @@ var Wall = new Class({
showDuration : 3000, // Durata visualizzazione Slideshow
preload : false, // Precarica contenuto
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) {
@@ -266,7 +267,7 @@ var Wall = new Class({
if( this.options.slideshow == true ) this.initSlideshow();
// Inizializza Device Mobile
- if( this.detectMobile() ) this.initMobile();
+ if( this.options.detectMobile && this.detectMobile() ) this.initMobile();
//
return this;

0 comments on commit 258fd9e

Please sign in to comment.
Something went wrong with that request. Please try again.