Fix flags

This commit is contained in:
seaweedchan 2013-07-22 06:19:08 -07:00
parent 16b35dffce
commit 784eccd953
4 changed files with 6 additions and 931 deletions

View File

@ -1,5 +1,5 @@
/*
* appchan x - Version 2.1.3 - 2013-07-21
* appchan x - Version 2.1.3 - 2013-07-22
*
* Licensed under the MIT license.
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -114,7 +114,7 @@ Style =
while i--
return unless Style.headCount
node = nodes[i]
if (node.nodeName is 'STYLE' and !node.id) or ("#{node.rel}".contains('stylesheet') and !/static\.4chan\.org\/css\/flags\.507\.css/.test(href = node.href) and href[..3] isnt 'data')
if (node.nodeName is 'STYLE' and !node.id) or ("#{node.rel}".contains('stylesheet') and !/flags.*\.css$/.test(href = node.href) and href[..3] isnt 'data')
Style.headCount--
$.rm node
return