123456789101112131415161718192021 |
- Macro.add('EXIT', {
- skipArgs : true,
- handler : function () {
- try{
- window.SweetCube.globalBreak = true;
- }
- catch (ex) {
- return this.error('ERROR in EXIT-widget: ' + ex.message);
- }
- }
- });
- $(document).on(':passagerender', function (ev) {
- window.SweetCube.globalBreak = false;
- });
|