demo/lib/ui-bootstrap-tpls.js
function toggleTopWindowClass(toggleSwitch) {
        var modalWindow;

        if (openedWindows.length() > 0) {
          modalWindow = openedWindows.top().value;
          modalWindow.modalDomEl.toggleClass(modalWindow.windowTopClass || '', toggleSwitch);
        }
      }
function toggleTopWindowClass(toggleSwitch) {
        var modalWindow;

        if (openedWindows.length() > 0) {
          modalWindow = openedWindows.top().value;
          modalWindow.modalDomEl.toggleClass(modalWindow.windowTopClass || '', toggleSwitch);
        }
      }
function toggleTopWindowClass ( toggleSwitch ) { var modalWindow ; if ( openedWindows . length ( ) > 0 ) { modalWindow = openedWindows . top ( ) . value ; modalWindow . modalDomEl . toggleClass ( modalWindow . windowTopClass || '' , toggleSwitch ) ; } }
Add or remove "windowTopClass" from the top window in the stack
Add or remove windowTopClass from the top window in the stack