ソースを参照

Fix line length issue

Brian Grohe 5 年 前
コミット
69bcf1a034
1 ファイル変更4 行追加1 行削除
  1. 4 1
      src/js/select2/dropdown/attachBody.js

+ 4 - 1
src/js/select2/dropdown/attachBody.js

@@ -195,7 +195,10 @@ define([
       left: 0
     };
 
-    if ($.contains(document.body, $offsetParent[0]) || $offsetParent[0].isConnected) {
+    if (
+      $.contains(document.body, $offsetParent[0]) ||
+      $offsetParent[0].isConnected
+      ) {
       parentOffset = $offsetParent.offset();
     }