diff -r f971fb0f2a3e -r 43e261bcd4ce src/js/pop.js --- a/src/js/pop.js Tue Jan 31 17:22:10 2012 +0100 +++ b/src/js/pop.js Wed Feb 01 12:40:45 2012 +0100 @@ -22,7 +22,11 @@ "muted": false }; - this.container = container.slice(1); //eschew the '#' + var id = container.split("#"); //eschew the '#' + if (id.length === 1) + this.container = id[0]; + else if (id.length > 1) + this.container = id[1]; this.msgPump = {}; /* dictionnary used to receive and send messages */ this.__codes = []; /* used to schedule the execution of a piece of code in