Kaynağa Gözat

Fix line length issue

Brian Grohe 5 yıl önce
ebeveyn
işleme
69bcf1a034
1 değiştirilmiş dosya ile 4 ekleme ve 1 silme
  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();
     }