فهرست منبع

isDesktop() method deprecated

@soyjavi 14 سال پیش
والد
کامیت
c3764ec303
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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;