diff --git a/actions/qvitter.php b/actions/qvitter.php index 2ccdeb7..8d81838 100644 --- a/actions/qvitter.php +++ b/actions/qvitter.php @@ -719,7 +719,7 @@ class QvitterAction extends ApiAction - + diff --git a/js/qvitter.js b/js/qvitter.js index d8eb0e0..5c9c14b 100644 --- a/js/qvitter.js +++ b/js/qvitter.js @@ -906,8 +906,11 @@ $('body').on('click','a', function(e) { var followButton = '
' + window.sL.userFollowing + '' + window.sL.userUnfollow + '
'; // preview latest notice - data.status.user = data; - var noticeHtml = buildQueetHtml(data.status); + var noticeHtml = ''; + if(typeof data.status != 'undefined') { + data.status.user = data; + var noticeHtml = buildQueetHtml(data.status); + } var profileCard = '

' + data.name + '

' + screenNameWithServer + '

' + data.description + '

' + data.location + ' ยท ' + data.url.replace('http://','').replace('https://','') + '

';