Trigger onChange on session change.

pull/1/head
chriseth 9 years ago
parent fb1bfc636a
commit 85e1717f79
  1. 1
      assets/js/app.js

@ -763,6 +763,7 @@
editor.getSession().on('change', onChange);
editor.on('changeSession', function(){
editor.getSession().on('change', onChange);
onChange();
})
document.querySelector('#optimize').addEventListener('change', function(){

Loading…
Cancel
Save