()
| 49 | }; |
| 50 | |
| 51 | function panelPosition() { |
| 52 | var iface = $("#togetherjs-dock"); |
| 53 | if (iface.hasClass("togetherjs-dock-right")) { |
| 54 | return "right"; |
| 55 | } else if (iface.hasClass("togetherjs-dock-left")) { |
| 56 | return "left"; |
| 57 | } else if (iface.hasClass("togetherjs-dock-bottom")) { |
| 58 | return "bottom"; |
| 59 | } else { |
| 60 | throw new AssertionError("#togetherjs-dock doesn't have positioning class"); |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | ui.container = null; |
| 65 |