Skip to content

Commit

Permalink
Merge pull request jspreadsheet#480 from rozwell/master
Browse files Browse the repository at this point in the history
Fixed double context menu line after disabling columnSorting
  • Loading branch information
pphod authored Jul 27, 2019
2 parents c53d899 + 0105c78 commit dab50f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dist/jexcel.js
Original file line number Diff line number Diff line change
Expand Up @@ -5557,11 +5557,11 @@ var jexcel = (function(el, options) {
});
}

// Line
items.push({ type:'line' });

// Sorting
if (obj.options.columnSorting == true) {
// Line
items.push({ type:'line' });

items.push({
title:obj.options.text.orderAscending,
onclick:function() {
Expand Down

0 comments on commit dab50f0

Please sign in to comment.