Add sidebar expand button, refresh CodeMirror on expand (scrollbar)

This commit is contained in:
Norbert Renner 2018-03-19 19:27:10 +01:00
parent 77cf43c7ef
commit 093db8bfe2
4 changed files with 18 additions and 3 deletions

View file

@ -56,6 +56,10 @@ BR.Profile = L.Evented.extend({
this.editor.refresh();
},
onResize: function() {
this.editor.refresh();
},
_upload: function(evt) {
var button = evt.target || evt.srcElement,
profile = this.editor.getValue();