templates/jquery/jquery.formalize.js in compass_formalize-0.0.2 vs templates/jquery/jquery.formalize.js in compass_formalize-0.0.3
- old
+ new
@@ -27,10 +27,11 @@
if (!WEBKIT) {
return;
}
// Tweaks for Safari + Chrome.
- $('html').addClass('is_webkit');
+ // <html class="is_webkit">
+ $(document.documentElement).addClass('is_webkit');
},
// FORMALIZE.init.full_input_size
full_input_size: function() {
if (!IE7 || !$('textarea, input.input_full').length) {
return;
\ No newline at end of file