UPDATE Added hide reset button on data entry
Added javascript that watches if info is being entered into the weight input and hides reset button if so.
This commit is contained in:
1 parent
1736c75272
commit
852bb87ae9
1 file changed
+5
-1
@@ -120,6 +120,11 @@
|
||||
|
||||
});
|
||||
|
||||
//hide reset button on weight input
|
||||
jQuery('.input-weight').keyup(function() {
|
||||
jQuery('.b-infoentry__reset').hide();
|
||||
}).keyup();
|
||||
|
||||
//reset inputs and plate visuals
|
||||
jQuery(".b-infoentry__reset").click(function(){
|
||||
jQuery(".input-weight, .input-weightsneeded").val('');
|
||||
@@ -132,7 +137,6 @@
|
||||
var savedScrollTop;
|
||||
function saveScroll() {
|
||||
savedScrollTop = jQuery(document).scrollTop();
|
||||
console.log(savedScrollTop);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user