hotfix on refresh from wiki page (throttling)

assymetric-collaboration
Fabien Benetou 2 years ago
parent 737f36b4e6
commit 6b9d891cd6
  1. 2
      index.html

@ -1526,6 +1526,7 @@ AFRAME.registerComponent('glossary', {
AFRAME.registerComponent('fot', {
init:function(){
this.tick = AFRAME.utils.throttleTick(this.tick, 500, this)
},
tick: function(){
let generatorName = this.attrName
@ -2433,6 +2434,7 @@ AFRAME.registerComponent('refresh-text-content-from-wiki-page', {
this.added = []
let = forcedPagename = AFRAME.utils.getUrlParameter('roomname')
forcedPagename?this.pagename=forcedPagename:this.pagename=this.data.pagename
this.tick = AFRAME.utils.throttleTick(this.tick, 500, this)
},
tick: function(){
let generatorName = this.attrName

Loading…
Cancel
Save