Skip to content

Commit 4448f04

Browse files
authored
Update Summit.osl
1 parent b6b4690 commit 4448f04

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

OSL Programs/apps/System/Summit.osl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,10 +203,12 @@ current_tab_name = input_search
203203

204204
if page_type == "osl" (
205205
run pages.[tab]
206+
onload = false
206207
)
207208
if page_type == "png" (
208-
goto 0-0
209-
image taburls.[tab].replace(newline,).destr.replace("owtp://",owtpurl) frame_width
209+
goto 0 0
210+
image taburls.[tab].destr.replace("owtp://",owtpurl) frame_width
211+
page_data = ""
210212
)
211213
if page_type == "txt" (
212214
loc 2 2 20 -20 + scroll_y
@@ -216,7 +218,6 @@ if page_type == "txt" (
216218
current_tab_name.key("icon") = "txt"
217219
page_len = pages.[tab].len * 25
218220
)
219-
onload = false
220221
tabs.[tab] = current_tab_name
221222
frame "clear"
222223
import "win-buttons"

0 commit comments

Comments
 (0)