Skip to content
This repository has been archived by the owner on Apr 4, 2019. It is now read-only.

Commit

Permalink
Bugfix for breaking editor panel when reference was opened. Removed C…
Browse files Browse the repository at this point in the history
…odemMirror syntax highlighting of intro snippets.
  • Loading branch information
florianf committed Sep 19, 2016
1 parent 009ea35 commit f6828b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/carto/views/Carto.bones
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ view.prototype.render = function() {
if (this.$('.manual').size()) return this;

this.$('.content').html(templates.Reference(abilities.carto));
this.$('pre.carto-snippet').each(function(i, elem) {
/*this.$('pre.carto-snippet').each(function(i, elem) {
CodeMirror(function(el) {
$(elem).replaceWith(el);
}, {
Expand All @@ -32,7 +32,7 @@ view.prototype.render = function() {
value: $(elem).text()
}
);
});
});*/
return this;
};

Expand Down

0 comments on commit f6828b3

Please sign in to comment.