Skip to content

Commit

Permalink
Remove unused variables (#5554)
Browse files Browse the repository at this point in the history
  • Loading branch information
blikblum authored and kevin-brown committed Aug 7, 2019
1 parent f13ba12 commit 7b9cfca
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/js/select2/data/tags.js
Expand Up @@ -111,8 +111,6 @@ define([
};

Tags.prototype._removeOldTags = function (_) {
var tag = this._lastTag;

var $options = this.$element.find('option[data-select2-tag]');

$options.each(function () {
Expand Down
4 changes: 0 additions & 4 deletions src/js/select2/selection/base.js
Expand Up @@ -39,7 +39,6 @@ define([
BaseSelection.prototype.bind = function (container, $container) {
var self = this;

var id = container.id + '-container';
var resultsId = container.id + '-results';

this.container = container;
Expand Down Expand Up @@ -117,7 +116,6 @@ define([
};

BaseSelection.prototype._attachCloseHandler = function (container) {
var self = this;

$(document.body).on('mousedown.select2.' + container.id, function (e) {
var $target = $(e.target);
Expand All @@ -127,8 +125,6 @@ define([
var $all = $('.select2.select2-container--open');

$all.each(function () {
var $this = $(this);

if (this == $select[0]) {
return;
}
Expand Down

0 comments on commit 7b9cfca

Please sign in to comment.