client/js/renderer/scene.js
changeset 445 705a2e9c6c9d
parent 435 e529b633c339
child 447 e246651b6626
--- a/client/js/renderer/scene.js	Mon Apr 27 17:23:14 2015 +0200
+++ b/client/js/renderer/scene.js	Tue May 05 17:59:14 2015 +0200
@@ -14,7 +14,11 @@
         this.onStatusChange();
         this.canvas_$ = this.$.find(".Rk-Canvas");
         this.labels_$ = this.$.find(".Rk-Labels");
-        this.editor_$ = this.$.find(".Rk-Editor");
+        if (!_renkan.options.popup_editor){
+        	this.editor_$ = $("#" + _renkan.options.editor_panel);      	
+        }else{        	
+        	this.editor_$ = this.$.find(".Rk-Editor");
+        }
         this.notif_$ = this.$.find(".Rk-Notifications");
         paper.setup(this.canvas_$[0]);
         this.scale = 1;