Kaynağa Gözat

isDesktop() method deprecated

@soyjavi 14 yıl önce
ebeveyn
işleme
3da5095cfd
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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;