// Also add in the padding for the calculated arrow width.
arrowWidth = parseInt( this.outerHeight(), 10 );
$steps.filter( ':not(:last-child)' ).addClass( 'arrow' )
- .find( 'div' ).css( paddingSide, arrowWidth.toString() + 'px' );
+ .find( 'div' ).css( paddingSide, arrowWidth.toString() + 'px' );
this.data( 'arrowSteps', $steps );
return this;
.mw-badge-important {
background-color: #cc0000;
}
-
*
* @fixme document the options parameters
*/
- getCaretPosition: function ( options ) {
+ getCaretPosition: function ( options ) {
function getCaret( e ) {
var caretPos = 0,
endPos = 0,
}
// Add a hyphen (maqaf) before numbers and non-Hebrew letters
- if ( word.substr( 0, 1 ) < 'א' || word.substr( 0, 1 ) > 'ת' ) {
+ if ( word.substr( 0, 1 ) < 'א' || word.substr( 0, 1 ) > 'ת' ) {
word = '־' + word;
}
}
-
/**** Special:AllMessages ****/
#mw-allmessagestable .allmessages-customised td.am_default {
background-color: #fcffc4;
th.mw-version-ext-col-label {
font-size: 0.9em;
-}
\ No newline at end of file
+}
-
.mw-debug-profile-tipsy .tipsy-inner {
/* undo max-width from vector on .tipsy-inner */
max-width: none;
for ( i = 0; i < ps.length; i++ ) {
result = ps[i]();
if ( result !== null ) {
- return result;
+ return result;
}
}
return null;
return function () {
var result = null;
if ( input.substr( pos, len ) === s ) {
- result = s;
- pos += len;
+ result = s;
+ pos += len;
}
return result;
};
for ( i = 0, len = attributes.length; i < len; i += 2 ) {
attributeName = attributes[i];
if ( $.inArray( attributeName, settings.allowedHtmlCommonAttributes ) === -1 &&
- $.inArray( attributeName, settings.allowedHtmlAttributesByElement[startTagName] || [] ) === -1 ) {
+ $.inArray( attributeName, settings.allowedHtmlAttributesByElement[startTagName] || [] ) === -1 ) {
return false;
}
}
d = new Date(),
// Create HH:MM:SS.MIL timestamp
time = ( d.getHours() < 10 ? '0' + d.getHours() : d.getHours() ) +
- ':' + ( d.getMinutes() < 10 ? '0' + d.getMinutes() : d.getMinutes() ) +
- ':' + ( d.getSeconds() < 10 ? '0' + d.getSeconds() : d.getSeconds() ) +
- '.' + ( d.getMilliseconds() < 10 ? '00' + d.getMilliseconds() : ( d.getMilliseconds() < 100 ? '0' + d.getMilliseconds() : d.getMilliseconds() ) ),
- $log = $( '#mw-log-console' );
+ ':' + ( d.getMinutes() < 10 ? '0' + d.getMinutes() : d.getMinutes() ) +
+ ':' + ( d.getSeconds() < 10 ? '0' + d.getSeconds() : d.getSeconds() ) +
+ '.' + ( d.getMilliseconds() < 10 ? '00' + d.getMilliseconds() : ( d.getMilliseconds() < 100 ? '0' + d.getMilliseconds() : d.getMilliseconds() ) ),
+ $log = $( '#mw-log-console' );
if ( !$log.length ) {
$log = $( '<div id="mw-log-console"></div>' ).css( {