mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-08-31 06:02:09 +00:00
Remove debugging that was left behind
This commit is contained in:
parent
c200020e55
commit
3eddf325b5
@ -79,7 +79,6 @@ export class WidgetComponent {
|
|||||||
|
|
||||||
private getWrappedUrl(url: string): string {
|
private getWrappedUrl(url: string): string {
|
||||||
const urls = [this.wrapperUrl].concat(this.scalarWrapperUrls);
|
const urls = [this.wrapperUrl].concat(this.scalarWrapperUrls);
|
||||||
console.log(urls);
|
|
||||||
for (let scalarUrl of urls) {
|
for (let scalarUrl of urls) {
|
||||||
if (url.startsWith(scalarUrl)) {
|
if (url.startsWith(scalarUrl)) {
|
||||||
return decodeURIComponent(url.substring(scalarUrl.length));
|
return decodeURIComponent(url.substring(scalarUrl.length));
|
||||||
@ -93,7 +92,6 @@ export class WidgetComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private setWidgetUrl(widget: Widget) {
|
private setWidgetUrl(widget: Widget) {
|
||||||
console.log(widget);
|
|
||||||
widget.url = this.getWrappedUrl(widget.url);
|
widget.url = this.getWrappedUrl(widget.url);
|
||||||
|
|
||||||
// Use the Dimension-specific URL override if one is present
|
// Use the Dimension-specific URL override if one is present
|
||||||
|
Loading…
Reference in New Issue
Block a user