Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
diaspora
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Milan
diaspora
Commits
ca07f5b9
Commit
ca07f5b9
authored
Jan 13, 2012
by
Tray Torrance
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Close #2606 and address other FF 3.x deficiencies.
parent
9dbe644b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
app/views/layouts/application.html.haml
app/views/layouts/application.html.haml
+11
-0
public/javascripts/ie.js
public/javascripts/ie.js
+0
-4
No files found.
app/views/layouts/application.html.haml
View file @
ca07f5b9
...
...
@@ -65,6 +65,17 @@
-
if
rtl?
=
include_stylesheets
:rtl
,
:media
=>
'all'
:javascript
// Support for older browsers
if
(
Array
.
isArray
===
undefined
)
{
Array
.
isArray
=
function
(
arg
)
{
return
Object
.
prototype
.
toString
.
call
(
arg
)
==
'
[object Array]
'
;
};
}
if
((
window
.
history
)
&&
(
window
.
history
.
pushState
===
undefined
))
{
window
.
history
.
pushState
=
function
()
{
};
}
=
csrf_meta_tag
<!--[if IE]>
=
javascript_include_tag
"/javascripts/ie.js"
...
...
public/javascripts/ie.js
View file @
ca07f5b9
document
.
createElement
(
'
header
'
);
document
.
createElement
(
'
footer
'
);
// IE 9 work-around for vendor/backbone.js
if
((
window
.
history
)
&&
(
document
.
documentMode
==
9
))
{
window
.
history
.
pushState
=
function
()
{
};
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment