Active
Project:
Hint
Version:
7.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Aug 2012 at 08:17 UTC
Updated:
10 Aug 2012 at 08:17 UTC
If you check the html output you will probably see style="[object CSSStyleDeclaration]" on the hint placeholder element. The problem is that the style attribute is added even it is empty.
possible solution:
replace hint.js line 36
$placeholder.attr(attribute, $element.get(0)[attribute]);
with something like
value = $element.get(0)[attribute];
if (typeof value === "string" || typeof value === "number") {
$placeholder.attr(attribute, value);
}