Fixed slider, rusha
This commit is contained in:
parent
9fb243bfba
commit
b0d62c9b2c
@ -617,7 +617,7 @@ a.tg_radio_on:hover i.icon-radio {
|
||||
height: 12px;
|
||||
border-radius: 6px;
|
||||
margin-top: 4px;
|
||||
overflow: hidden;
|
||||
/*overflow: hidden;*/
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
|
@ -2182,6 +2182,11 @@ angular.module('myApp.directives', ['myApp.filters'])
|
||||
}
|
||||
stopMouseTrack();
|
||||
|
||||
e = e.originalEvent || e;
|
||||
|
||||
if (e.offsetX == undefined) {
|
||||
e.offsetX = e.layerX;
|
||||
}
|
||||
lastMinPageX = e.pageX - e.offsetX;
|
||||
// console.log('mdown', lastMinPageX, e.pageX, e.offsetX);
|
||||
lastUpdValue = minValue + e.offsetX / width * (maxValue - minValue);
|
||||
|
@ -500,7 +500,7 @@ angular.module('izhukov.utils', [])
|
||||
};
|
||||
|
||||
if (navigator.mimeTypes['application/x-pnacl'] !== undefined) {
|
||||
var listener = $('<div id="nacl_listener"><embed id="mtproto_crypto" width="0" height="0" src="nacl/mtproto_crypto.nmf?'+Math.random()+'" type="application/x-pnacl" /></div>').appendTo($('body'))[0];
|
||||
var listener = $('<div id="nacl_listener"><embed id="mtproto_crypto" width="0" height="0" src="nacl/mtproto_crypto.nmf" type="application/x-pnacl" /></div>').appendTo($('body'))[0];
|
||||
listener.addEventListener('load', function (e) {
|
||||
naClEmbed = listener.firstChild;
|
||||
console.log(dT(), 'NaCl ready');
|
||||
|
@ -55,6 +55,8 @@ gulp.task('copy', function() {
|
||||
.pipe(gulp.dest('dist/vendor/jsbn')),
|
||||
gulp.src('app/vendor/leemon_bigint/bigint.js')
|
||||
.pipe(gulp.dest('dist/vendor/leemon_bigint')),
|
||||
gulp.src('app/vendor/rusha/rusha.js')
|
||||
.pipe(gulp.dest('dist/vendor/rusha')),
|
||||
gulp.src('app/vendor/cryptoJS/crypto.js')
|
||||
.pipe(gulp.dest('dist/vendor/cryptoJS')),
|
||||
gulp.src(['app/nacl/mtproto_crypto.pexe', 'app/nacl/mtproto_crypto.nmf'])
|
||||
|
Loading…
Reference in New Issue
Block a user