mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Redraw the title when the document changes it with ECMAScript.
This commit is contained in:
parent
4806005c21
commit
8fb4fc437a
@ -177,6 +177,7 @@ document_set_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
|||||||
switch (JSVAL_TO_INT(id)) {
|
switch (JSVAL_TO_INT(id)) {
|
||||||
case JSP_DOC_TITLE:
|
case JSP_DOC_TITLE:
|
||||||
mem_free_set(&document->title, stracpy(jsval_to_string(ctx, vp)));
|
mem_free_set(&document->title, stracpy(jsval_to_string(ctx, vp)));
|
||||||
|
print_screen_status(doc_view->session);
|
||||||
break;
|
break;
|
||||||
case JSP_DOC_URL:
|
case JSP_DOC_URL:
|
||||||
/* According to the specs this should be readonly but some
|
/* According to the specs this should be readonly but some
|
||||||
|
Loading…
Reference in New Issue
Block a user