JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
say when we're waiting for a definition
[hexbog.git] / main.coffee
index b64d1f7..1700d10 100644 (file)
@@ -524,6 +524,7 @@ extract_wiktionary_definiton = (html) ->
 
 
 look_up_definition = (word) ->
+       $definition_body.html "Looking up definition for \"#{word}\"."
        $.ajax({
                url: "http://en.wiktionary.org/w/api.php?action=parse&format=json&page=#{word}"
                jsonpCallback: "lud_#{word}" # always use the same callback for the same word so it's cacheable