aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/core/wrappers/screen.service.ts2
-rw-r--r--client/src/assets/player/peertube-plugin.ts2
-rw-r--r--client/src/polyfills.ts9
-rw-r--r--client/src/sass/primeng-custom.scss2
4 files changed, 3 insertions, 12 deletions
diff --git a/client/src/app/core/wrappers/screen.service.ts b/client/src/app/core/wrappers/screen.service.ts
index fd8268b35..deea7f73b 100644
--- a/client/src/app/core/wrappers/screen.service.ts
+++ b/client/src/app/core/wrappers/screen.service.ts
@@ -30,7 +30,7 @@ export class ScreenService {
30 } 30 }
31 31
32 isInTouchScreen () { 32 isInTouchScreen () {
33 return !!('ontouchstart' in window || navigator.msMaxTouchPoints) 33 return !!('ontouchstart' in window || (navigator as any).msMaxTouchPoints)
34 } 34 }
35 35
36 getNumberOfAvailableMiniatures () { 36 getNumberOfAvailableMiniatures () {
diff --git a/client/src/assets/player/peertube-plugin.ts b/client/src/assets/player/peertube-plugin.ts
index 9b4dc9bd5..0121e87d7 100644
--- a/client/src/assets/player/peertube-plugin.ts
+++ b/client/src/assets/player/peertube-plugin.ts
@@ -224,7 +224,7 @@ class PeerTubePlugin extends Plugin {
224 private isTouchEnabled () { 224 private isTouchEnabled () {
225 return ('ontouchstart' in window) || 225 return ('ontouchstart' in window) ||
226 navigator.maxTouchPoints > 0 || 226 navigator.maxTouchPoints > 0 ||
227 navigator.msMaxTouchPoints > 0 227 (navigator as any).msMaxTouchPoints > 0
228 } 228 }
229 229
230 private initCaptions () { 230 private initCaptions () {
diff --git a/client/src/polyfills.ts b/client/src/polyfills.ts
index d24bcb09d..798529fd6 100644
--- a/client/src/polyfills.ts
+++ b/client/src/polyfills.ts
@@ -21,9 +21,6 @@
21import 'core-js/es/object' 21import 'core-js/es/object'
22import 'core-js/es/global-this' 22import 'core-js/es/global-this'
23 23
24/** IE10 and IE11 requires the following for NgClass support on SVG elements */
25// import 'classlist.js'; // Run `npm install --save classlist.js`.
26
27/** IE10 and IE11 requires the following for the Reflect API. */ 24/** IE10 and IE11 requires the following for the Reflect API. */
28 25
29// For Google Bot 26// For Google Bot
@@ -36,12 +33,6 @@ import 'core-js/es/global-this'
36// import 'core-js/es7/reflect' // --> dealt with in src/environment.ts 33// import 'core-js/es7/reflect' // --> dealt with in src/environment.ts
37 34
38/** 35/**
39 * Required to support Web Animations `@angular/platform-browser/animations`.
40 * Needed for: All but Chrome, Firefox and Opera. http://caniuse.com/#feat=web-animation
41 */
42// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
43
44/**
45 * By default, zone.js will patch all possible macroTask and DomEvents 36 * By default, zone.js will patch all possible macroTask and DomEvents
46 * user can disable parts of macroTask/DomEvents patch by setting following flags 37 * user can disable parts of macroTask/DomEvents patch by setting following flags
47 */ 38 */
diff --git a/client/src/sass/primeng-custom.scss b/client/src/sass/primeng-custom.scss
index 6541ee127..ace0fd63a 100644
--- a/client/src/sass/primeng-custom.scss
+++ b/client/src/sass/primeng-custom.scss
@@ -2,7 +2,7 @@
2@use '_mixins' as *; 2@use '_mixins' as *;
3 3
4/* stylelint-disable */ 4/* stylelint-disable */
5@use 'primeng/resources/primeng'; 5@import '~primeng/resources/primeng.css';
6 6
7// Override primeng style we don't want 7// Override primeng style we don't want
8input[type=button] { 8input[type=button] {