function swapView() {
		// If the stream pane is hidden
		if (streamPaneElement.classList.contains("z-10")) {
			// Show stream pane
			streamPaneElement.classList.add("z-20");
			streamPaneElement.classList.remove("z-10");

			// Hide game pane
			gamePaneElement.classList.add("z-10");
			gamePaneElement.classList.remove("z-20");
		}
		// Else assume game pane is hidden
		else {
			// Show game pane
			gamePaneElement.classList.add("z-20");
			gamePaneElement.classList.remove("z-10");

			// Hide stream pane
			streamPaneElement.classList.add("z-10");
			streamPaneElement.classList.remove("z-20");
		}
	}
// Function for swapping which frame is in front
Function for swapping which frame is in front
Function for swapping which frame is in front
function swapView() {
		if (streamPaneElement.classList.contains("z-10")) {
			streamPaneElement.classList.add("z-20");
			streamPaneElement.classList.remove("z-10");
			gamePaneElement.classList.add("z-10");
			gamePaneElement.classList.remove("z-20");
		}
		else {
			gamePaneElement.classList.add("z-20");
			gamePaneElement.classList.remove("z-10");
			streamPaneElement.classList.add("z-10");
			streamPaneElement.classList.remove("z-20");
		}
	}
function swapView ( ) { if ( streamPaneElement . classList . contains ( "z-10" ) ) { streamPaneElement . classList . add ( "z-20" ) ; streamPaneElement . classList . remove ( "z-10" ) ; gamePaneElement . classList . add ( "z-10" ) ; gamePaneElement . classList . remove ( "z-20" ) ; } else { gamePaneElement . classList . add ( "z-20" ) ; gamePaneElement . classList . remove ( "z-10" ) ; streamPaneElement . classList . add ( "z-10" ) ; streamPaneElement . classList . remove ( "z-20" ) ; } }
Function for swapping which frame is in front
Function for swapping which frame is in front
// If the stream pane is hidden // Show stream pane // Hide game pane // Else assume game pane is hidden // Show game pane // Hide stream pane