Skip to content

Commit

Permalink
Cleaned up .js
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminplee committed Mar 18, 2011
1 parent 0fefebc commit ad92183
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions js/main.js
@@ -1,9 +1,7 @@
(function($) {

$('.grid td').live('keyup', function() {
$(function() {
$('.grid td').keyup( function() {
if(!$(this).text().trim()) {
$(this).html('')
$(this).empty().blur()
}
})

})(jQuery)
})

0 comments on commit ad92183

Please sign in to comment.