wpaint.js: fix js exception; vichan-devel#20

This commit is contained in:
czaks 2014-01-31 09:55:54 +01:00
parent 966776d338
commit 780fa67fe8

View File

@ -102,7 +102,7 @@ oekaki.init = function() {
$(window).on('stylesheet', function() {
oekaki.do_css();
if ($('link#stylesheet').attr('href')) {
$('link#stylesheet')[0].onload = do_css;
$('link#stylesheet')[0].onload = oekaki.do_css;
}
});