diff --git a/README.md b/README.md index 4376bfc..f9d747c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -FastAdmin是一款基于ThinkPHP5+Bootstrap的极速后台管理系统。 +FastAdmin是一款基于ThinkPHP5+Bootstrap的极速后台开发框架。 =============== diff --git a/public/assets/js/require-table.js b/public/assets/js/require-table.js index 592b8eb..c64484d 100644 --- a/public/assets/js/require-table.js +++ b/public/assets/js/require-table.js @@ -230,10 +230,10 @@ define(['jquery', 'bootstrap', 'backend', 'config', 'toastr', 'moment', 'bootstr var that = this; var top = $(that).offset().top - $(window).scrollTop(); var left = $(that).offset().left - $(window).scrollLeft() - 260; - if(top + 154 > $(window).height()){ + if (top + 154 > $(window).height()) { top = top - 154; } - if($(window).width()<480){ + if ($(window).width() < 480) { top = left = undefined; } var index = Backend.api.layer.confirm(