Created
March 3, 2014 14:47
-
-
Save jdelStrother/9326530 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/assets/javascripts/extras/embed_editor.js.erb b/app/assets/javascripts/extras/embed_editor.js.erb | |
index 4f6b4e9..79aecf4 100644 | |
--- a/app/assets/javascripts/extras/embed_editor.js.erb | |
+++ b/app/assets/javascripts/extras/embed_editor.js.erb | |
@@ -321,6 +338,7 @@ | |
return this.theme == 'light' ? this.lightLinkColor : this.darkLinkColor; | |
} | |
this.setLinkColor = function( colorName ) { | |
+ this.setUseCustomColor(false); | |
var f = this.theme == 'light' ? this.setLightLinkColor : this.setDarkLinkColor; | |
f.call( this, colorName ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment