Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #1290 from cheeaun/master
Fix whatis.coffee not working
  • Loading branch information
technicalpickles committed Jan 31, 2014
2 parents ef50eee + 18ca775 commit 170bc9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/whatis.coffee
Expand Up @@ -33,7 +33,7 @@ module.exports = (robot) ->
$ = require('jquery').create(window)

definitions = []
$(".definition").each (idx, item) ->
$(".meaning").each (idx, item) ->
definitions.push $(item).text()

msgText = if definitions.length==0 then "No definition found." else (msg.random definitions)
Expand Down

0 comments on commit 170bc9a

Please sign in to comment.