Преглед изворни кода

fixed scrolling on mobile

tags/v0.3.1
BigBadWaffle пре 5 година
committed by Big Bad Waffle
родитељ
комит
5adf293bcc
2 измењених фајлова са 2 додато и 6 уклоњено
  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 Прегледај датотеку

@@ -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 Прегледај датотеку

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

modal: true,
hasClose: true,

list: null,
action: null,


Loading…
Откажи
Сачувај