Skip to content

Commit

Permalink
cf. commit SHA-1: 4dfed96
Browse files Browse the repository at this point in the history
-typo fix in comments and text
  • Loading branch information
GerHobbelt committed Feb 28, 2014
1 parent 6140248 commit 67d0bd7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion demos/examples/combo-3.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ <h1>Spreadsheet Like JavaScript Grid</h1>
event.onComplete = function () {
console.log('Original:', event.originalRange[0], '-', event.originalRange[1]);
console.log('New:', event.newRange[0], '-', event.newRange[1]);
w2alert('Selection expaned (see more details in the console).');
w2alert('Selection expanded (see more details in the console).');
}
},
onDelete: function (event) {
Expand Down
2 changes: 1 addition & 1 deletion dist/w2ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -4046,7 +4046,7 @@ w2utils.keyboard = (function (obj) {
$('#grid_'+ this.name +'_rec_'+ id +'_expanded_row').show();
$('#grid_'+ this.name +'_cell_'+ this.get(recid, true) +'_expand div').html('<div class="w2ui-spinner" style="width: 16px; height: 16px; margin: -2px 2px;"></div>');
rec.expanded = true;
// check if height of expaned row > 5 then remove spinner
// check if height of expanded row > 5 then remove spinner
setTimeout(ready, 300);
function ready() {
var div1 = $('#grid_'+ obj.name +'_rec_'+ id +'_expanded');
Expand Down
2 changes: 1 addition & 1 deletion src/w2grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -2531,7 +2531,7 @@
$('#grid_'+ this.name +'_rec_'+ id +'_expanded_row').show();
$('#grid_'+ this.name +'_cell_'+ this.get(recid, true) +'_expand div').html('<div class="w2ui-spinner" style="width: 16px; height: 16px; margin: -2px 2px;"></div>');
rec.expanded = true;
// check if height of expaned row > 5 then remove spinner
// check if height of expanded row > 5 then remove spinner
setTimeout(ready, 300);
function ready() {
var div1 = $('#grid_'+ obj.name +'_rec_'+ id +'_expanded');
Expand Down
2 changes: 1 addition & 1 deletion src/w2utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ var w2utils = (function () {

function lock (box, msg, spinner) {
var options = {};
if (typeof msg == 'object') {
if (typeof msg === 'object') {
options = msg;
} else {
options.msg = msg;
Expand Down

0 comments on commit 67d0bd7

Please sign in to comment.