Commit 89c85d31 authored by Paul Brown's avatar Paul Brown

Optimize applyGlobalStyles - issue #721

parent 3bb53fb4
...@@ -460,7 +460,7 @@ ...@@ -460,7 +460,7 @@
this.applyGlobalStyles = function(parent) { this.applyGlobalStyles = function(parent) {
var self = this; var self = this;
$('[data-role]', parent).each(function() { $(':input[data-role]', parent).each(function() {
var $el = $(this); var $el = $(this);
self.applyStyle($el, $el.attr('data-role')); self.applyStyle($el, $el.attr('data-role'));
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment