Skip to content

Instantly share code, notes, and snippets.

@jdelStrother
Created March 3, 2014 14:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdelStrother/9326530 to your computer and use it in GitHub Desktop.
Save jdelStrother/9326530 to your computer and use it in GitHub Desktop.
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