]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/renderer/linkifier.service.ts
Fix displaying more dropdown on touchscreen
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / renderer / linkifier.service.ts
index 2529c9eaf40c7bac517fdf73b89dfe67e4f3c050..95d5f17ccf7526a8995697d683bf15fdedf70ee9 100644 (file)
@@ -1,8 +1,7 @@
 import { Injectable } from '@angular/core'
 import { getAbsoluteAPIUrl } from '@app/shared/misc/utils'
-// FIXME: use @types/linkify when https://github.com/DefinitelyTyped/DefinitelyTyped/pull/29682/files is merged?
-const linkify = require('linkifyjs')
-const linkifyHtml = require('linkifyjs/html')
+import * as linkify from 'linkifyjs'
+import linkifyHtml from 'linkifyjs/html'
 
 @Injectable()
 export class LinkifierService {