mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-10 07:19:05 +00:00
Merge pull request #3924 from overleaf/as-remove-ie-banner
Remove unused IE banner after support has been dropped GitOrigin-RevId: 115e4e371d34ed4b209c683a5b16260ca3beb4c3
This commit is contained in:
parent
86e74d9e5c
commit
48edcb0127
3 changed files with 0 additions and 18 deletions
|
@ -32,11 +32,6 @@ module.exports = function (webRouter, privateApiRouter, publicApiRouter) {
|
|||
next()
|
||||
})
|
||||
|
||||
webRouter.use(function (req, res, next) {
|
||||
res.locals.isIE = /\b(msie|trident)\b/i.test(req.headers['user-agent'])
|
||||
next()
|
||||
})
|
||||
|
||||
function addSetContentDisposition(req, res, next) {
|
||||
res.setContentDisposition = function (type, opts) {
|
||||
const directives = _.map(
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
include ../../_mixins/reconfirm_affiliation
|
||||
|
||||
.user-notifications(ng-controller="NotificationsController")
|
||||
include ./unsupported-browser
|
||||
|
||||
ul.list-unstyled(
|
||||
ng-if="notifications.length > 0 && projects.length > 0",
|
||||
ng-cloak
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
if isIE
|
||||
ul.list-unstyled
|
||||
li.notification-entry
|
||||
.alert.alert-info
|
||||
.notification-body
|
||||
p
|
||||
i.fa.fa-fw.fa-exclamation-triangle
|
||||
|
|
||||
| It looks like you're accessing Overleaf with Internet Explorer, which we'll stop supporting in April 2021. We recommend that you upgrade to a newer browser.
|
||||
|
|
||||
a(href="https://www.overleaf.com/learn/how-to/What_browsers_do_you_support" target="_blank" rel="noopener") Learn More
|
Loading…
Add table
Reference in a new issue