Skip to content

Commit

Permalink
Merge pull request jspreadsheet#434 from bliedblad/master
Browse files Browse the repository at this point in the history
Fix selectionCopy not hiding selection corner
  • Loading branch information
pphod authored Jul 11, 2019
2 parents afbb135 + 5b88f24 commit 67be8fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/jexcel.js
Original file line number Diff line number Diff line change
Expand Up @@ -421,13 +421,13 @@ var jexcel = (function(el, options) {
obj.table.appendChild(obj.thead);
obj.table.appendChild(obj.tbody);

// Spreasheet corner
// Spreadsheet corner
obj.corner = document.createElement('div');
obj.corner.className = 'jexcel_corner';
obj.corner.setAttribute('unselectable', 'on');
obj.corner.setAttribute('onselectstart', 'return false');

if (obj.selectionCopy == false) {
if (obj.options.selectionCopy == false) {
obj.corner.style.display = 'none';
}

Expand Down

0 comments on commit 67be8fb

Please sign in to comment.