jquery.tipsy.js SOURCE ====================== This file contains information about how to acquire and install the source files for jquery.tipsy # version 1.0.0a # license MIT license # used files src/javascript/tipsy.css src/javascript/jquery.tipsy.js # source https://github.com/jaz303/tipsy.git # apply hotfix (firefox SVG bound calculation) --- jquery.tipsy.js +++ jquery.tipsy.js @@ -34,8 +34,8 @@ $tip.remove().css({top: 0, left: 0, visibility: 'hidden', display: 'block'}).prependTo(document.body); var pos = $.extend({}, this.$element.offset(), { - width: this.$element[0].offsetWidth, - height: this.$element[0].offsetHeight + width: this.$element[0].offsetWidth || this.$element[0].getBoundingClientRect().width, + height: this.$element[0].offsetHeight || this.$element[0].getBoundingClientRect().height }); var actualWidth = $tip[0].offsetWidth, # installation mv src/javascript/tipsy.css ICINGAWEB/public/css/vendor/tipsy.css mv src/javascript/jquery.tipsy.js ICINGAWEB/public/js/vendor/jquery.tipsy.js uglifyjs src/javascript/jquery.tipsy.js ICINGAWEB/public/js/vendor/jquery.tipsy.min.js