wpaint.js: fix js exception; vichan-devel#20
This commit is contained in:
parent
966776d338
commit
780fa67fe8
@ -102,7 +102,7 @@ oekaki.init = function() {
|
|||||||
$(window).on('stylesheet', function() {
|
$(window).on('stylesheet', function() {
|
||||||
oekaki.do_css();
|
oekaki.do_css();
|
||||||
if ($('link#stylesheet').attr('href')) {
|
if ($('link#stylesheet').attr('href')) {
|
||||||
$('link#stylesheet')[0].onload = do_css;
|
$('link#stylesheet')[0].onload = oekaki.do_css;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user