WebHistoryController: Only show Gravatar and Gist if they are enabled
commit0f8ac907437e822d8561277059517464cf798aef
authorDaniel Lundqvist <daniel@malarhojden.nu>
Mon, 22 Dec 2008 15:28:24 +0000 (22 23:28 +0800)
committerPieter de Bie <pdebie@ai.rug.nl>
Mon, 19 Jan 2009 16:48:26 +0000 (19 16:48 +0000)
tree106fec01ee778b47b749cba31d2c1695862cfdec
parenteb971b3ca7b0b52e2a125b4279e720d936407884
WebHistoryController: Only show Gravatar and Gist if they are enabled

This add an "enableFeature" JS function that checks if a given feature is
enabled. If it is, the correct div is shown, otherwise it is hidden.
PBWebController.m
html/views/history/history.js