diff --git a/jquery.flot.js b/jquery.flot.js index 7988853..3c96a6c 100644 --- a/jquery.flot.js +++ b/jquery.flot.js @@ -1749,8 +1749,10 @@ Licensed under the MIT license. y += line.height/2 + offset; offset += line.height; - if ($.browser.opera) { - // FIXME: UGLY BROWSER DETECTION + if (!!(window.opera && window.opera.version().split('.')[0] < 12)) { + // FIXME: LEGACY BROWSER FIX + // AFFECTS: Opera < 12.00 + // round the coordinates since Opera // otherwise switches to more ugly // rendering (probably non-hinted) and