diff --git a/documentation/index.html.erb b/documentation/index.html.erb
index 17fa1dd146..8639e7a8a5 100644
--- a/documentation/index.html.erb
+++ b/documentation/index.html.erb
@@ -1769,7 +1769,7 @@ Expressions
closeMenus = ->
$('.navigation.active').removeClass 'active'
- $('.minibutton.run').click evalJS
+ $('.minibutton.run').click -> evalJS()
# Bind navigation buttons to open the menus.
$('.navigation').click (e) ->