Skip to content

Commit a9e8a41

Browse files
committed
Remove redundant variables in lazyloader, window.dfw
1 parent 3ab7f97 commit a9e8a41

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

inc/class-doubleclick.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,8 @@ public function enqueue_scripts() {
157157
}
158158

159159
$data = array(
160-
'dfpId' => $this->network_code(),
160+
'dfpID' => $this->network_code(),
161161
'network_code' => $this->network_code(),
162-
'networkCode' => $this->network_code(),
163162
'mappings' => $mappings,
164163
'targeting' => $this->targeting(),
165164
);

js/jquery.dfw.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
// if we have some ads, then load 'em!
3434
if (toLoad.length > 0) {
3535
dfp_options = Object.assign( dfw, {
36-
"dfpID": dfw.networkCode,
3736
"collapseEmptyDivs": false,
3837
"sizeMapping": dfw.mappings,
3938
"setTargeting": dfw.targeting

0 commit comments

Comments
 (0)