Skip to content
Permalink
Browse files

tweak to string asker width

  • Loading branch information...
michmech committed May 12, 2019
1 parent 739a549 commit dbe0a556f7d9781a4813a0bb344b1451027fe9eb
Showing with 1 addition and 1 deletion.
  1. +1 −1 xonomy.js
@@ -1079,7 +1079,7 @@ Xonomy.showBubble=function($anchor) {
};

Xonomy.askString=function(defaultString, askerParameter, jsMe) {
var width=($("body").width()*.5)-75
var width=($("body").width()*.4)-75
var html="";
html+="<form onsubmit='Xonomy.answer(this.val.value); return false'>";
html+="<input name='val' class='textbox focusme' style='width: "+width+"px;' value='"+Xonomy.xmlEscape(defaultString)+"' onkeyup='Xonomy.notKeyUp=true'/>";

0 comments on commit dbe0a55

Please sign in to comment.
You can’t perform that action at this time.