Fix Font Awesome Icon selection scoping
- Narrowed scoping of selector so it doesn't interfere with custom widgets after drop - Version bump to 2.0.18 - Updated README
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
VERSION = (2, 1, 17)
|
||||
VERSION = (2, 1, 18)
|
||||
DEV_N = None
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -40,7 +40,7 @@
|
||||
data: { indexes : indexes.join(','), csrfmiddlewaretoken: window.csrftoken },
|
||||
success: function() {
|
||||
// set icons based on position
|
||||
var icons = ui.item.parent().find('.fa');
|
||||
var icons = ui.item.parent().find('a > .fa');
|
||||
icons.removeClass('fa-sort-desc fa-sort-asc fa-sort');
|
||||
icons.each(function(index, element) {
|
||||
var icon = $(element);
|
||||
|
||||
Reference in New Issue
Block a user