Skip to content

Commit

Permalink
Update theme switcher
Browse files Browse the repository at this point in the history
  • Loading branch information
Philippe Masset committed Jan 2, 2016
1 parent 342a28d commit db9f5a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ $(document).ready(function() {
[editor.markdownSource, $(editor.markdownHtml), editor.markdownPreview].forEach(function(el) {
updateElFontSize(el, cssIncrement);
});
},

useTheme: function(stylesheet) {
editor.themeSelector.setAttribute("href", stylesheet);
}

};
Expand Down

0 comments on commit db9f5a9

Please sign in to comment.