mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[ecmascript] One line shorter code
This commit is contained in:
parent
7feb5f4140
commit
c008cddb83
@ -146,11 +146,10 @@ toggle_ecmascript(struct session *ses)
|
||||
|
||||
if (ecmascript_enabled) {
|
||||
mem_free_set(&ses->status.window_status, stracpy(_("Ecmascript enabled", ses->tab->term)));
|
||||
print_screen_status(ses);
|
||||
} else {
|
||||
mem_free_set(&ses->status.window_status, stracpy(_("Ecmascript disabled", ses->tab->term)));
|
||||
print_screen_status(ses);
|
||||
}
|
||||
print_screen_status(ses);
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user