Skip to content

Commit

Permalink
Fix a typo and remove a warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Atkins-Turkish committed Aug 31, 2016
1 parent e7e7a6e commit a46a993
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ide/static/ide/js/KVtable.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ CloudPebble.KVTable = function(table_elm, options) {
.attr('placeholder', key ? null : opts.value_placeholder)),
$('<td>').append(
$('<button>')
.prop('disabled', !key))
.prop('disabled', !key)
.text('-')
.addClass("btn kv-remove")
.attr('type', 'button')
.attr('type', 'button'))
]);
self.trigger('rowRendered', row);
return row;
Expand Down
1 change: 1 addition & 0 deletions ide/static/ide/js/dependencies.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ CloudPebble.Dependencies = (function() {
if (!val) return;
cache.lookup_module(val).then(function(data) {
on_submit(val, data.version ? version_prefix + data.version : null);
return null;
}).catch(function() {
on_submit(val, null);
});
Expand Down

0 comments on commit a46a993

Please sign in to comment.