Alexander Nazarov (nfokz) wrote in changelog,
Alexander Nazarov
nfokz
changelog

[ljcom] r11990: LJSUP-12257: LJ Tokens should be rounded...

Committer: anazarov
LJSUP-12257: LJ Tokens should be rounded up in LJ Shop
U   trunk/htdocs/js/jquery/jquery.lj.range.js
Modified: trunk/htdocs/js/jquery/jquery.lj.range.js
===================================================================
--- trunk/htdocs/js/jquery/jquery.lj.range.js	2012-05-22 15:02:00 UTC (rev 11989)
+++ trunk/htdocs/js/jquery/jquery.lj.range.js	2012-05-23 07:40:35 UTC (rev 11990)
@@ -128,6 +128,7 @@
 				value = this._correctValue(this._input.val());
 
 			if (value < parseInt(inputValue, 10)) {
+				value += this.options.step;
 				this._input.val(value);
 			}
 			this._updateHandle(value);

Tags: anazarov, js, ljcom, nfokz
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments