From 7bae73bcb4260a31b355bfcd447f1cee4154d459 Mon Sep 17 00:00:00 2001 From: tophf Date: Wed, 22 Nov 2017 02:42:56 +0300 Subject: [PATCH] add onclick for colorpicker-settings icon in usercss mode --- edit/source-editor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/edit/source-editor.js b/edit/source-editor.js index 7ad3d326..20a26be4 100644 --- a/edit/source-editor.js +++ b/edit/source-editor.js @@ -1,4 +1,4 @@ -/* global CodeMirror dirtyReporter initLint beautify showKeyMapHelp */ +/* global CodeMirror dirtyReporter initLint beautify showKeyMapHelp configureColorpicker */ /* global showToggleStyleHelp goBackToManage updateLintReportIfEnabled */ /* global hotkeyRerouter setupAutocomplete setupOptionsExpand */ /* global editors linterConfig updateLinter regExpTester mozParser */ @@ -145,6 +145,7 @@ ${section} $('#save-button').onclick = save; $('#beautify').onclick = beautify; $('#keyMap-help').onclick = showKeyMapHelp; + $('#colorpicker-settings').addEventListener('click', configureColorpicker); $('#toggle-style-help').onclick = showToggleStyleHelp; $('#cancel-button').onclick = goBackToManage;