Fix #1390

Andrew Cantino 8 years ago
parent
commit
6c63d63373

+ 0 - 1
app/assets/javascripts/pages/agent-edit-page.js.coffee

@@ -159,7 +159,6 @@ class @AgentEditPage
159 159
         session.setTabSize(2)
160 160
         session.setUseSoftTabs(true)
161 161
         session.setUseWrapMode(false)
162
-        editor.setTheme("ace/theme/chrome")
163 162
 
164 163
         setSyntax = ->
165 164
           switch $("[name='agent[options][language]']").val()

+ 1 - 2
app/assets/javascripts/pages/user-credential-page.js.coffee

@@ -4,7 +4,6 @@ class @UserCredentialPage
4 4
     editor.getSession().setTabSize(2)
5 5
     editor.getSession().setUseSoftTabs(true)
6 6
     editor.getSession().setUseWrapMode(false)
7
-    editor.setTheme("ace/theme/chrome")
8 7
 
9 8
     setMode = ->
10 9
       mode = $("#user_credential_mode").val()
@@ -23,4 +22,4 @@ class @UserCredentialPage
23 22
       $textarea.val(editor.getSession().getValue())
24 23
 
25 24
 $ ->
26
-  Utils.registerPage(UserCredentialPage, forPathsMatching: /^user_credentials\/\d+/)
25
+  Utils.registerPage(UserCredentialPage, forPathsMatching: /^user_credentials\/\d+/)