MCPcopy
hub / github.com/jabbany/CommentCoreLibrary / launchWindowFull

Function launchWindowFull

demo/debugger.js:378–396  ·  view source on GitHub ↗
(element, e2)

Source from the content-addressed store, hash-verified

376 }
377
378 function launchWindowFull(element, e2) {
379 if (!isWindowedFullscreen) {
380 element.style.position = "fixed";
381 element.style.top = "0";
382 element.style.bottom = "0";
383 element.style.left = "0";
384 element.style.right = "0";
385 element.style.width = "auto";
386 element.style.height = "auto";
387 e2.style.height = "100%";
388 } else {
389 element.style.position = "";
390 element.style.top = "";
391 element.style.bottom = "";
392 element.style.left = "";
393 element.style.right = "";
394 }
395 isWindowedFullscreen = !isWindowedFullscreen;
396 }
397 // Add Fullscreen Handlers
398 var fs = function() {
399 cm.setBounds();

Callers 1

bindFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected