Skip to content

Commit

Permalink
Merge pull request #969 from ScottHuangZL/patch-1
Browse files Browse the repository at this point in the history
Use CDN version to avoid impact China site
  • Loading branch information
kartik-v authored Nov 26, 2020
2 parents 830c661 + d8bd180 commit 371be29
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/GridView.php
Original file line number Diff line number Diff line change
Expand Up @@ -1710,7 +1710,9 @@ protected function initExport()
'cssFile' => $this->isBs4() ?
[
'https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css',
'https://use.fontawesome.com/releases/v5.3.1/css/all.css',
//'https://use.fontawesome.com/releases/v5.3.1/css/all.css',
// Use CDN version to avoid impact China site. It also work for worldwide
'https://cdn.bootcss.com/font-awesome/5.3.1/css/all.css',
] :
['https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css'],
],
Expand Down

0 comments on commit 371be29

Please sign in to comment.