");
}
- // Add hint label if required
+
+ // Add hint label if using the shorthand data-hint attribute on the input
if ($this.attr("data-hint")) {
- $this.after("
" + $this.attr("data-hint") + "
");
+ $this.after("
" + $this.attr("data-hint") + "
");
}
// Set as empty if is empty (damn I must improve this...)