Merge branch 'master' of github.com:flynx/pWiki

This commit is contained in:
Alex A. Naanou 2023-10-30 18:06:28 +03:00
commit d8684dd559

View File

@ -46,8 +46,8 @@ function clickPoint(x,y){
// elements. // elements.
// //
// XXX it would be a better idea to do a binary search instead of a liner // XXX it would be a better idea to do a binary search instead of a liner
// pass... but at this point this is not critical (unless we get // pass...
// gigantic blocks) // ...though b-search will get us to the target, we stll need to count...
// XXX HACK -- is there a better way to do this??? // XXX HACK -- is there a better way to do this???
var getCharOffset = function(elem, x, y, c){ var getCharOffset = function(elem, x, y, c){
c = c ?? 0 c = c ?? 0