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