From 5e7d0fd42dbd6efcfa571ab6ff440b4294350077 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 24 Mar 2018 09:53:04 +0530 Subject: [PATCH] Content server: Fix translations not being updated without clearing the browser cache --- src/pyj/book_list/main.pyj | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pyj/book_list/main.pyj b/src/pyj/book_list/main.pyj index 53a9e17e2b..246aa6b209 100644 --- a/src/pyj/book_list/main.pyj +++ b/src/pyj/book_list/main.pyj @@ -128,6 +128,9 @@ def do_update_interface_data(): if end_type is 'load': data = JSON.parse(xhr.responseText) update_interface_data(data) + if data.translations: + get_translations(data.translations) + install(data.translations) ).send()