quick fix of DMs openning

This commit is contained in:
Simon Grim 2016-01-10 21:47:57 +05:00
parent 8608a9d235
commit ac4bb8718b

View File

@ -349,6 +349,8 @@ var MAL = function()
} }
this.showDMchat = function(req) { this.showDMchat = function(req) {
if (typeof req !== 'object')
req = {};
if (req.alias) { if (req.alias) {
if ($.hasOwnProperty('mobile')) { if ($.hasOwnProperty('mobile')) {
$.mobile.navigate(this.dmchatUrl(req.alias)); $.mobile.navigate(this.dmchatUrl(req.alias));