diff options
author | James D. Forrester <jforrester@wikimedia.org> | 2014-10-14 17:40:32 -0700 |
---|---|---|
committer | James D. Forrester <jforrester@wikimedia.org> | 2014-10-14 17:40:40 -0700 |
commit | 578cf4524680913158f694e3ed50e2e0d7562ebb (patch) | |
tree | 4afcbb1a419733aa4c4bc7528f14a478861ebd4e /resources/lib/oojs-ui/oojs-ui.js | |
parent | a334bfbb250c48f32827562d54d8cba8ed873d05 (diff) | |
download | mediawikicore-578cf4524680913158f694e3ed50e2e0d7562ebb.tar.gz mediawikicore-578cf4524680913158f694e3ed50e2e0d7562ebb.zip |
Update OOjs UI to v0.1.0-pre (d74a46ca6a)
New changes:
d74a46c Introduce oo-ui-window-inner-overlay
Change-Id: I3f325f3c514d334179de46d0ea092b48f13b9dfd
Diffstat (limited to 'resources/lib/oojs-ui/oojs-ui.js')
-rw-r--r-- | resources/lib/oojs-ui/oojs-ui.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/resources/lib/oojs-ui/oojs-ui.js b/resources/lib/oojs-ui/oojs-ui.js index f98f3f3e256d..50f69f3f5f34 100644 --- a/resources/lib/oojs-ui/oojs-ui.js +++ b/resources/lib/oojs-ui/oojs-ui.js @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.1.0-pre (837b2f733e) + * OOjs UI v0.1.0-pre (d74a46ca6a) * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2014 OOjs Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2014-10-11T01:05:29Z + * Date: 2014-10-15T00:40:17Z */ ( function ( OO ) { @@ -1900,6 +1900,7 @@ OO.ui.Window.prototype.initialize = function () { this.$head = this.$( '<div>' ); this.$body = this.$( '<div>' ); this.$foot = this.$( '<div>' ); + this.$innerOverlay = this.$( '<div>' ); // Events this.$element.on( 'mousedown', OO.ui.bind( this.onMouseDown, this ) ); @@ -1908,7 +1909,8 @@ OO.ui.Window.prototype.initialize = function () { this.$head.addClass( 'oo-ui-window-head' ); this.$body.addClass( 'oo-ui-window-body' ); this.$foot.addClass( 'oo-ui-window-foot' ); - this.$content.append( this.$head, this.$body, this.$foot ); + this.$innerOverlay.addClass( 'oo-ui-window-inner-overlay' ); + this.$content.append( this.$head, this.$body, this.$foot, this.$innerOverlay ); return this; }; |