fix glitch
This commit is contained in:
parent
6f24384a7e
commit
7cde2a5129
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -21,7 +21,7 @@ class BasePageListView(AttachedToMixin, ParentMixin, BaseView, ListView):
|
||||||
item_template_name = 'aircox/widgets/page_item.html'
|
item_template_name = 'aircox/widgets/page_item.html'
|
||||||
has_sidebar = True
|
has_sidebar = True
|
||||||
|
|
||||||
paginate_by = 2
|
paginate_by = 30
|
||||||
has_headline = True
|
has_headline = True
|
||||||
|
|
||||||
def get(self, *args, **kwargs):
|
def get(self, *args, **kwargs):
|
||||||
|
|
|
@ -203,7 +203,7 @@ export default {
|
||||||
if(src instanceof Array) {
|
if(src instanceof Array) {
|
||||||
audio.innerHTML = '';
|
audio.innerHTML = '';
|
||||||
for(var s of src) {
|
for(var s of src) {
|
||||||
let source = document.createElement(source);
|
let source = document.createElement('source');
|
||||||
source.setAttribute('src', s);
|
source.setAttribute('src', s);
|
||||||
audio.appendChild(source)
|
audio.appendChild(source)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user