Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Commit

Permalink
removed js print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianKirmaier committed Aug 14, 2023
1 parent 995d206 commit 031d1b6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions core/src/main/scala/one/jpro/routing/LinkUtil.scala
Original file line number Diff line number Diff line change
Expand Up @@ -151,17 +151,14 @@ object LinkUtil {
val divBox = webapi.executeScriptWithVariable("document.createElement('div')");
webapi.executeScript(
s"""
|console.log('create divBox');
|${aElem.getName}.appendChild(${divBox.getName});
|${divBox.getName}.style.display = 'block';
|${divBox.getName}.style.position = 'absolute';
|console.log('divBox.added');
|""".stripMargin)
node.labWH --> { wh =>
// set WH to a
webapi.executeScript(
s"""
|console.log('divBox.getname: ${divBox.getName}');
|${divBox.getName}.style.width = '${wh._1}px';
|${divBox.getName}.style.height = '${wh._2}px';
|""".stripMargin)
Expand Down

0 comments on commit 031d1b6

Please sign in to comment.