Selaa lähdekoodia

isDesktop() method deprecated

@soyjavi 14 vuotta sitten
vanhempi
commit
c3764ec303
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/boot/Lungo.Boot.Layout.js

+ 1 - 1
src/boot/Lungo.Boot.Layout.js

@@ -19,7 +19,7 @@ LUNGO.Boot.Layout = (function(lng, undefined) {
      *
      */
     var start = function() {
-        if (!lng.Environment.isDesktop()) {
+        if (lng.Core.isMobile()) {
             _window = window;
             _document = _window.document;