Skip to content

Commit 0257a3e

Browse files
Merge pull request #1 from magyargergo/master
Fix illegal invocation error
2 parents 7456f9c + b2dc5f6 commit 0257a3e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "preboot",
3-
"version": "8.0.0",
2+
"name": "@freelancercom/preboot",
3+
"version": "8.0.0-fork.1",
44
"description": "Record server view events and play back to Angular client view",
55
"scripts": {
66
"clean": "rimraf out-tsc dist/* dist-tarball/*",

src/lib/api/event.replayer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {getNodeKeyForPreboot} from '../common/get-node-key';
1818
export function _window(): PrebootWindow {
1919
return {
2020
prebootData: (window as any)['prebootData'],
21-
getComputedStyle: window.getComputedStyle,
21+
getComputedStyle: (element, pseudoElt) => window.getComputedStyle(element, pseudoElt),
2222
document: document
2323
};
2424
}

0 commit comments

Comments
 (0)