lib/scripts/screenshot.js
function (initData) {
        var body = document.body;

        // Reset document height (if changed at all)
        body.style.height = initData.document.cssHeight;

        // Reset document offset
		if (initData.needsStitching) {
			body.style[initData.bodyTransform.property] = initData.bodyTransform.value;
		}
    }
function (initData) {
        var body = document.body;

        // Reset document height (if changed at all)
        body.style.height = initData.document.cssHeight;

        // Reset document offset
		if (initData.needsStitching) {
			body.style[initData.bodyTransform.property] = initData.bodyTransform.value;
		}
    }
function ( initData ) { var body = document . body ; // Reset document height (if changed at all) body . style . height = initData . document . cssHeight ; // Reset document offset if ( initData . needsStitching ) { body . style [ initData . bodyTransform . property ] = initData . bodyTransform . value ; } }
Reverts changes done to the document during the screenshot process

@method revert
@param {object} initData Data gathered during init-phase
Reverts changes done to the document during the screenshot process