1
0
mirror of synced 2024-11-22 04:56:08 +03:00

Prevent IE from going back on backspace

This closes https://github.com/select2/select2/issues/3168.
This commit is contained in:
Kevin Brown 2015-03-18 11:53:40 -04:00
parent 14279a012b
commit 0c573df402
5 changed files with 8 additions and 2 deletions

View File

@ -1786,6 +1786,8 @@ S2.define('select2/selection/search',[
var item = $previousChoice.data('data');
self.searchRemoveChoice(item);
evt.preventDefault();
}
}
});

File diff suppressed because one or more lines are too long

2
dist/js/select2.js vendored
View File

@ -1786,6 +1786,8 @@ S2.define('select2/selection/search',[
var item = $previousChoice.data('data');
self.searchRemoveChoice(item);
evt.preventDefault();
}
}
});

File diff suppressed because one or more lines are too long

View File

@ -75,6 +75,8 @@ define([
var item = $previousChoice.data('data');
self.searchRemoveChoice(item);
evt.preventDefault();
}
}
});