Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xblock-drag-and-drop-v2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
xblock-drag-and-drop-v2
Commits
2c75c72b
Commit
2c75c72b
authored
Dec 15, 2015
by
Braden MacDonald
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix IE10 compatibility
parent
d7f98f5a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
drag_and_drop_v2/public/css/drag_and_drop.css
+8
-1
drag_and_drop_v2/public/js/view.js
+1
-1
No files found.
drag_and_drop_v2/public/css/drag_and_drop.css
View file @
2c75c72b
...
@@ -41,11 +41,18 @@
...
@@ -41,11 +41,18 @@
/** Draggable Items **/
/** Draggable Items **/
.xblock--drag-and-drop
.item-bank
{
.xblock--drag-and-drop
.item-bank
{
display
:
-ms-flexbox
;
display
:
flex
;
display
:
flex
;
-ms-flex-flow
:
row
wrap
;
flex-flow
:
row
wrap
;
flex-flow
:
row
wrap
;
/* TODO: prefix the above and test in IE 10 */
-ms-justify-content
:
flex-start
;
justify-content
:
flex-start
;
justify-content
:
flex-start
;
-ms-flex-align
:
center
;
align-items
:
center
;
align-items
:
center
;
position
:
relative
;
position
:
relative
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.1
);
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.1
);
border-radius
:
3px
;
border-radius
:
3px
;
...
...
drag_and_drop_v2/public/js/view.js
View file @
2c75c72b
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
// Set up a mock for gettext if it isn't available in the client runtime:
// Set up a mock for gettext if it isn't available in the client runtime:
if
(
!
window
.
gettext
)
{
if
(
!
window
.
gettext
)
{
var
gettext
=
function
gettext_stub
(
string
)
{
return
string
;
};
window
.
gettext
=
function
gettext_stub
(
string
)
{
return
string
;
};
}
}
var
FocusHook
=
function
()
{
var
FocusHook
=
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