Ticket #6141: 6141.patch

File 6141.patch, 500 bytes (added by Sa'ar Zac Elias, 14 years ago)
  • _source/plugins/indent/plugin.js

     
    261261                                                currentOffset = 0;
    262262                                        currentOffset += ( self.name == 'indent' ? 1 : -1 ) * editor.config.indentOffset;
    263263
    264                                         if ( currentOffset < 0 )
     264                                        if ( currentOffset <= 0 )
    265265                                                return false;
    266266
    267267                                        currentOffset = Math.max( currentOffset, 0 );
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy