Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mdhelp: fix GET /markdown/null requests
  • Loading branch information
perexg committed Apr 3, 2016
1 parent 9e7578d commit 2aa055d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/webui/static/app/tvheadend.js
Expand Up @@ -135,7 +135,9 @@ tvheadend.mdhelp = function(pagename) {
listeners: {
render: function(win) {
win.body.on('click', function(e, dom) {
tvheadend.mdhelp(dom.getAttribute('page'));
var page = dom.getAttribute('page');
if (page)
tvheadend.mdhelp(page);
});
}
},
Expand Down

0 comments on commit 2aa055d

Please sign in to comment.