0.0.45
This commit is contained in:
@@ -52,6 +52,14 @@ function renderContent (el=null) {
|
||||
document.querySelector(".content").innerHTML = data.html
|
||||
replaceHrefOnOnclick()
|
||||
replace_select_language()
|
||||
if (el){
|
||||
history.pushState({
|
||||
'section':data['section_url']
|
||||
},
|
||||
'',
|
||||
`/section/${el.dataset['url']}/`
|
||||
)
|
||||
}
|
||||
},
|
||||
error: function (data){
|
||||
alert(data.errors)
|
||||
|
||||
Reference in New Issue
Block a user