Skip to content

Commit

Permalink
Fix sevio width and height - linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
petrican committed May 2, 2024
1 parent 7cf5712 commit e07d191
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ads/vendors/sevio.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import {validateData, loadScript} from '#3p/3p';
import {loadScript, validateData} from '#3p/3p';

/**
* @param {!Window} global
* @param {!Object} data
*/
export function sevio(global, data) {

validateData(data, ['zone']);

const container = document.getElementById('c');
Expand All @@ -23,8 +22,8 @@ export function sevio(global, data) {
zoneId: encodeURIComponent(data.zone),
placeholderId: encodeURIComponent(adDivId),
wu: window.location.href,
width: window.innerWidth,
height: window.innerHeight
width: data.width,
height: data.height,
});
},
() => {
Expand Down

0 comments on commit e07d191

Please sign in to comment.