fix demo for the textile mode

This commit is contained in:
Fabian Jakobs 2011-02-23 13:59:19 +01:00
commit 7a607ba621
3 changed files with 12 additions and 4 deletions

View file

@ -116,6 +116,7 @@ var Editor =function(renderer, session) {
}
this.setSession = function(session) {
if (!session) debugger
if (this.session == session) return;
if (this.session) {