Sha256: 596858a37aa810224b9eb6d2003b6b64da47f5a73413e66e9786f47ed737c704
Contents?: true
Size: 975 Bytes
Versions: 59
Compression:
Stored size: 975 Bytes
Contents
$(document).ready(function() { // get rid of translation_missing tooltips $(this).on("mouseover", ".translation_missing", function() { $(this).attr('title', ''); }) // qtips for validation hints $(this).on("mouseover", ".has_validations", function() { $(this).qtip({ content: { text: function(api) { // Retrieve content from custom attribute of the $('.selector') elements. return $(this).attr('validation-hint'); } }, show: { ready: true // this took a loooooong time to find out... }, position: { my: 'left top', at: 'top right', adjust: { y: +17 } }, style: { classes: 'ui-tooltip-jtools', tip: { corner: false } } }) }); });
Version data entries
59 entries across 59 versions & 1 rubygems