Skip to content

Commit

Permalink
MP: not sure if these changes are ok or not but so far they work. may…
Browse files Browse the repository at this point in the history
… break older firefox browsers from displaying cursor properly in edit forms
  • Loading branch information
mattpascoe committed Sep 9, 2009
1 parent b36bc0e commit d270b83
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions www/include/xajax_webwin/webwinTT.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,10 @@ function wwTT_create() {
tooltip.style.position = 'absolute';
// FIXME: This should be removed someday (year) when Firefox/Mozilla no longer have this bug
// Bug workaround: "position fixed" below is a workaround for this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=167801
if (navigator.userAgent.indexOf('Gecko/') != -1)
tooltip.style.position = 'fixed';
tooltip.style.left = '0px';
tooltip.style.top = '0px';
// if (navigator.userAgent.indexOf('Gecko/') != -1)
// tooltip.style.position = 'fixed';
//tooltip.style.left = '0px';
//tooltip.style.top = '0px';
if (wwTTobj.options.content != '')
tooltip.innerHTML = wwTTobj.options.content;

Expand Down

0 comments on commit d270b83

Please sign in to comment.