diff --git a/userscript/origin.user.js b/userscript/origin.user.js index 2c113375..745032ce 100644 --- a/userscript/origin.user.js +++ b/userscript/origin.user.js @@ -22,7 +22,11 @@ $('ul.clean_list, ul.list-unstyled').append('
  • loading origin...
  • '); $.get({url: url, crossDomain: true, xhrFields: {withCredentials: true}, success: function(origin) { if (origin.endsWith('failed')) { - $('#osrt-origin').html(' failed to get origin info'); + if (origin.startsWith('OSRT:OriginConfig attribute missing')) { + $('#osrt-origin').html(''); + } else { + $('#osrt-origin').html(' failed to get origin info'); + } } else { project = origin.trim(); if (project.endsWith('~')) {