Can't rely on menu item textContent to be populated at this point.

This commit is contained in:
ccd0 2015-08-16 03:47:45 -07:00
parent 3db44c08a7
commit d74c3cacf9

View File

@ -106,7 +106,7 @@ UI = do ->
return unless entry.open data
catch err
Main.handleErrors
message: "\"#{entry.el.textContent}\" menu entry crashed."
message: "Error in building the #{@type} menu."
error: err
return
$.add parent, entry.el