瀏覽代碼

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;