ivaynberg/select2

View on GitHub
src/js/select2/dropdown/attachBody.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function _positionDropdown has 63 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  AttachBody.prototype._positionDropdown = function () {
    var $window = $(window);

    var isCurrentlyAbove = this.$dropdown[0].classList
      .contains('select2-dropdown--above');
Severity: Major
Found in src/js/select2/dropdown/attachBody.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status