-
Notifications
You must be signed in to change notification settings - Fork 835
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
paulhodel
authored and
paulhodel
committed
Feb 3, 2019
1 parent
3ba0b17
commit f01fccf
Showing
5 changed files
with
31 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,7 +59,7 @@ | |
{ | ||
box-sizing:border-box; | ||
cursor:pointer; | ||
padding:10px; | ||
padding:9px; | ||
font-size:0.9em; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/** | ||
* (c) 2013 Jexcel Plugin v2.0.0 | Bossanova UI | ||
* (c) 2013 Jexcel Plugin v2.0.2 | Bossanova UI | ||
* http://www.github.com/paulhodel/jexcel | ||
* | ||
* @author: Paul Hodel <[email protected]> | ||
|
@@ -85,7 +85,7 @@ var methods = { | |
// Toolbar | ||
toolbar:null, | ||
// About message | ||
about:'jExcel Spreadsheet\\nVersion 2.0.0\\nAuthor: Paul Hodel <[email protected]>\\nWebsite: https://bossanova.uk/jexcel' | ||
about:'jExcel Spreadsheet\\nVersion 2.0.2\\nAuthor: Paul Hodel <[email protected]>\\nWebsite: https://bossanova.uk/jexcel' | ||
}; | ||
|
||
// Id | ||
|
@@ -804,9 +804,19 @@ var methods = { | |
$.fn.jexcel.touchControls = null | ||
|
||
$(document).on('touchstart', function(e) { | ||
if (! $(e.target).parents('.jexcel, .jexcel_contextmenu').length) { | ||
$('#' + $.fn.jexcel.current).jexcel('resetSelection'); | ||
} else { | ||
if (! $($.fn.jexcel.selectedCell).hasClass('edition')) { | ||
if ($(e.target).parent().parent().parent().parent().hasClass('jexcel-content')) { | ||
$.fn.jexcel.selectedCell = $(e.target); | ||
$('#' + $.fn.jexcel.current).jexcel('updateSelection', $.fn.jexcel.selectedCell, $(e.target)); | ||
} | ||
$.fn.jexcel.touchControl = setTimeout(function() { | ||
$('#' + $.fn.jexcel.current).jexcel('openEditor', $.fn.jexcel.selectedCell, null, e); | ||
}, 1000); | ||
}, 500); | ||
} | ||
} | ||
}); | ||
|
||
$(document).on('touchend touchcancel', function() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters