@@ -58,7 +58,7 @@ var DialogWindow = React.createClass({
5858 var style = {
5959 position : 'fixed' ,
6060 boxSizing : 'border-box' ,
61- webkitTapHighlightColor : 'rgba(0,0,0,0)' ,
61+ WebkitTapHighlightColor : 'rgba(0,0,0,0)' ,
6262 zIndex : 10 ,
6363 top : 0 ,
6464 left : - 10000 ,
@@ -78,9 +78,9 @@ var DialogWindow = React.createClass({
7878 } ,
7979
8080 _contents : function ( ) {
81- var style = {
81+ var style = {
8282 boxSizing : 'border-box' ,
83- webkitTapHighlightColor : 'rgba(0,0,0,0)' ,
83+ WebkitTapHighlightColor : 'rgba(0,0,0,0)' ,
8484 transition : Transitions . easeOut ( ) ,
8585 position : 'relative' ,
8686 width : '75%' ,
@@ -148,7 +148,7 @@ var DialogWindow = React.createClass({
148148 key = { key }
149149 secondary = { true }
150150 onClick = { onClickHandler }
151- label = { actionJSON . text }
151+ label = { actionJSON . text }
152152 style = { styles } />
153153 ) ;
154154 } ,
@@ -158,7 +158,7 @@ var DialogWindow = React.createClass({
158158 var actionObjects = [ ] ;
159159 var actionStyle = {
160160 boxSizing : 'border-box' ,
161- webkitTapHighlightColor : 'rgba(0,0,0,0)' ,
161+ WebkitTapHighlightColor : 'rgba(0,0,0,0)' ,
162162 padding : 8 ,
163163 marginBottom : 8 ,
164164 width : '100%' ,
@@ -187,30 +187,30 @@ var DialogWindow = React.createClass({
187187 return actionContainer ;
188188 } ,
189189
190- _positionDialog : function ( ) {
190+ _positionDialog : function ( ) {
191191
192192 var container = this . getDOMNode ( ) ;
193- var dialogWindow = this . refs . dialogWindow . getDOMNode ( ) ;
193+ var dialogWindow = this . refs . dialogWindow . getDOMNode ( ) ;
194194 var containerHeight = container . offsetHeight ;
195-
196- //Reset the height in case the window was resized.
197- dialogWindow . style . height = '' ;
198- var dialogWindowHeight = dialogWindow . offsetHeight ;
199195
200- var paddingTop = ( ( containerHeight - dialogWindowHeight ) / 2 ) - 64 ;
196+ //Reset the height in case the window was resized.
197+ dialogWindow . style . height = '' ;
198+ var dialogWindowHeight = dialogWindow . offsetHeight ;
199+
200+ var paddingTop = ( ( containerHeight - dialogWindowHeight ) / 2 ) - 64 ;
201201
202- //Vertically center the dialog window, but make sure it doesn't
203- //transition to that position.
204- if ( this . props . repositionOnUpdate || ! container . style . paddingTop ) {
202+ //Vertically center the dialog window, but make sure it doesn't
203+ //transition to that position.
204+ if ( this . props . repositionOnUpdate || ! container . style . paddingTop ) {
205205 container . style . paddingTop = paddingTop + 'px' ;
206206 }
207-
207+
208208 } ,
209-
209+
210210 _onShow : function ( ) {
211211 if ( this . props . onShow ) this . props . onShow ( ) ;
212212 } ,
213-
213+
214214 _onDismiss : function ( ) {
215215 if ( this . props . onDismiss ) this . props . onDismiss ( ) ;
216216 } ,
0 commit comments