1
0
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:
Miciah Dashiel Butler Masters 2005-10-30 04:33:40 +00:00 committed by Miciah Dashiel Butler Masters
parent 4806005c21
commit 8fb4fc437a

View File

@ -177,6 +177,7 @@ document_set_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
switch (JSVAL_TO_INT(id)) {
case JSP_DOC_TITLE:
mem_free_set(&document->title, stracpy(jsval_to_string(ctx, vp)));
print_screen_status(doc_view->session);
break;
case JSP_DOC_URL:
/* According to the specs this should be readonly but some