Fix: remove suffix check

This commit is contained in:
eight 2017-09-12 19:30:53 +08:00
parent bbe37adfef
commit 43b912c195

View File

@ -270,9 +270,6 @@ function initUsercssInstall() {
}
function isUsercss() {
if (!/\.user\.(css|styl|less|scss|sass)$/i.test(location.pathname)) {
return false;
}
if (!/text\/(css|plain)/.test(document.contentType)) {
return false;
}