Skip to content

Commit

Permalink
Update javascript.js
Browse files Browse the repository at this point in the history
  • Loading branch information
fustyles authored Jan 1, 2025
1 parent 9f62c01 commit 3073b5d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions SpBlocklyJS/googlemap_20241226/javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,11 @@ Blockly.JavaScript['googlemap_point_function'] = function (block) {
else if (func=="update_gmpClickable")
var code = 'updateMarkerContent('+pointid+', '+content+', "gmpClickable");\n';
else if (func=="open_content")
var code = 'openMarkerContent('+pointid+');\n';
var code = 'updateMarkerContent('+pointid+', '', 'openContent');\n';
else if (func=="close_content")
var code = 'closeMarkerContent('+pointid+');\n';
var code = 'updateMarkerContent('+pointid+', '', 'closeContent');\n';
else if (func=="clear")
var code = 'clearMarker('+pointid+');\n';
var code = 'updateMarkerContent('+pointid+', '', 'clear');\n';
else
var code = '';

Expand Down

0 comments on commit 3073b5d

Please sign in to comment.