Commits

Chris Leonello  committed 83c2f29

Fix to correctly parse alpha of rgba color strings on safari.

  • Participants
  • Parent commits 55ba1b6

Comments (0)

Files changed (1)

File src/jqplot.core.js

                 ret[i-1] = parseInt(m[i]);
             }
         }
-        if (m[4] != null) ret[3] = parseFloat(m[4]);
-        else ret[3] = 1.0;
+        ret[3] = parseFloat(m[4]) ? parseFloat(m[4]) : 1.0;
         return ret;
     };