WIP: Aureplop/kpsul js refactor #501
1 changed files with 1 additions and 2 deletions
|
@ -48,8 +48,7 @@ class KHistory {
|
||||||
fetch(api_options) {
|
fetch(api_options) {
|
||||||
this.data.clear();
|
this.data.clear();
|
||||||
|
|
||||||
if (api_options)
|
$.extend(this.api_options, api_options);
|
||||||
this.api_options = api_options;
|
|
||||||
|
|
||||||
this.data.fromAPI(this.api_options)
|
this.data.fromAPI(this.api_options)
|
||||||
.done( () => this.display_data() );
|
.done( () => this.display_data() );
|
||||||
|
|
Loading…
Reference in a new issue