diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2017-12-04 18:55:29 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2017-12-04 18:55:29 +0100 |
commit | 1794320dcfdfcd19572fb1676294f9853a6bbc20 (patch) | |
tree | a4c9e978947d6930d50391747382d7f95a5863e3 /sources/core/_bootstrap.js | |
parent | 7183f6a6a21ad9124e70c997e0168459f377a9f2 (diff) | |
download | ludivine-ckeditor-component-4.7.3.tar.gz ludivine-ckeditor-component-4.7.3.tar.zst ludivine-ckeditor-component-4.7.3.zip |
Diffstat (limited to 'sources/core/_bootstrap.js')
-rw-r--r-- | sources/core/_bootstrap.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/core/_bootstrap.js b/sources/core/_bootstrap.js index 0163912..cc7fb38 100644 --- a/sources/core/_bootstrap.js +++ b/sources/core/_bootstrap.js | |||
@@ -8,7 +8,7 @@ | |||
8 | */ | 8 | */ |
9 | 9 | ||
10 | ( function() { | 10 | ( function() { |
11 | // Disable HC detection in WebKit. (#5429) | 11 | // Disable HC detection in WebKit. (http://dev.ckeditor.com/ticket/5429) |
12 | if ( CKEDITOR.env.webkit ) | 12 | if ( CKEDITOR.env.webkit ) |
13 | CKEDITOR.env.hc = false; | 13 | CKEDITOR.env.hc = false; |
14 | else { | 14 | else { |
@@ -19,13 +19,13 @@ | |||
19 | hcDetect.appendTo( CKEDITOR.document.getHead() ); | 19 | hcDetect.appendTo( CKEDITOR.document.getHead() ); |
20 | 20 | ||
21 | // Update CKEDITOR.env. | 21 | // Update CKEDITOR.env. |
22 | // Catch exception needed sometimes for FF. (#4230) | 22 | // Catch exception needed sometimes for FF. (http://dev.ckeditor.com/ticket/4230) |
23 | try { | 23 | try { |
24 | var top = hcDetect.getComputedStyle( 'border-top-color' ), | 24 | var top = hcDetect.getComputedStyle( 'border-top-color' ), |
25 | right = hcDetect.getComputedStyle( 'border-right-color' ); | 25 | right = hcDetect.getComputedStyle( 'border-right-color' ); |
26 | 26 | ||
27 | // We need to check if getComputedStyle returned any value, because on FF | 27 | // We need to check if getComputedStyle returned any value, because on FF |
28 | // it returnes empty string if CKEditor is loaded in hidden iframe. (#11121) | 28 | // it returnes empty string if CKEditor is loaded in hidden iframe. (http://dev.ckeditor.com/ticket/11121) |
29 | CKEDITOR.env.hc = !!( top && top == right ); | 29 | CKEDITOR.env.hc = !!( top && top == right ); |
30 | } catch ( e ) { | 30 | } catch ( e ) { |
31 | CKEDITOR.env.hc = false; | 31 | CKEDITOR.env.hc = false; |