Parcourir la source

fixed scrolling on mobile

tags/v0.3.1
BigBadWaffle il y a 5 ans
committed by Big Bad Waffle
Parent
révision
73bb7cef8b
2 fichiers modifiés avec 2 ajouts et 6 suppressions
  1. +1
    -6
      src/client/js/main.js
  2. +1
    -0
      src/client/ui/templates/trade/trade.js

+ 1
- 6
src/client/js/main.js Voir le fichier

@@ -25,13 +25,8 @@ define([
hasFocus: true,

init: function () {
if (isMobile) {
window.addEventListener('touchmove', function (e) {
e.preventDefault();
}, { passive: false } );
if (isMobile)
$('.ui-container').addClass('mobile');
}

client.init(this.onClientReady.bind(this));
},


+ 1
- 0
src/client/ui/templates/trade/trade.js Voir le fichier

@@ -17,6 +17,7 @@ define([
centered: true,

modal: true,
hasClose: true,

list: null,
action: null,


Chargement…
Annuler
Enregistrer