diff --git a/AppKit/CPColorPanel.j b/AppKit/CPColorPanel.j index e8a9320eb..ba1521b5f 100644 --- a/AppKit/CPColorPanel.j +++ b/AppKit/CPColorPanel.j @@ -483,7 +483,7 @@ var CPColorPanelSwatchesCookie = "CPColorPanelSwatchesCookie"; ]; } - var cookieValue = eval(cookieValue); + var cookieValue = JSON.parse(cookieValue); return [cookieValue arrayByApplyingBlock:function(value) {