Commit 2c75c72b by Braden MacDonald

Fix IE10 compatibility

parent d7f98f5a
...@@ -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;
......
...@@ -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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment