0.0.74
This commit is contained in:
@@ -38,6 +38,11 @@ function renderContent (el=null) {
|
|||||||
} else {
|
} else {
|
||||||
data['section_url'] = el.dataset['url']
|
data['section_url'] = el.dataset['url']
|
||||||
}
|
}
|
||||||
|
if (window.location.href.includes("ru")){
|
||||||
|
data['lang'] = 'ru'
|
||||||
|
} else if (window.location.href.includes("en")){
|
||||||
|
data['lang'] = 'en'
|
||||||
|
}
|
||||||
$.ajax({
|
$.ajax({
|
||||||
headers: { "X-CSRFToken": $('input[name=csrfmiddlewaretoken]').val() },
|
headers: { "X-CSRFToken": $('input[name=csrfmiddlewaretoken]').val() },
|
||||||
url: '/get_content_for_section/',
|
url: '/get_content_for_section/',
|
||||||
|
|||||||
BIN
static/images/delete_later/img_f_test_presentation.jpg
Normal file
BIN
static/images/delete_later/img_f_test_presentation.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.0 MiB |
Reference in New Issue
Block a user