aboutsummaryrefslogtreecommitdiffstats
path: root/util/strings.php
diff options
context:
space:
mode:
authorTobias Hößl <tobias@hoessl.eu>2012-03-13 21:46:57 +0000
committerTobias Hößl <tobias@hoessl.eu>2012-03-13 21:46:57 +0000
commit7868e3897b0f282611f1ccb1715a30a93404ddc7 (patch)
tree45c9be8779b3d372c86d5118db520a8851589c5d /util/strings.php
parent43430ef561a004aca8a9a28449e51e3885d39a9a (diff)
downloadvolse-hubzilla-7868e3897b0f282611f1ccb1715a30a93404ddc7.tar.gz
volse-hubzilla-7868e3897b0f282611f1ccb1715a30a93404ddc7.tar.bz2
volse-hubzilla-7868e3897b0f282611f1ccb1715a30a93404ddc7.zip
In HTML2BBCode: fetch the URL of [EMBED] using JavaScript instead of an ajax-call to a php-script. Once there actually is embedded Code in the HTML, this function is called after every single keypress. Not only is making an ajax-call every keypress bandith intensive - it also made typing hard / slow. Making a lot of JavaScript-RegExp-Computation every keypress isn't exactly great either, but still performs better.
Diffstat (limited to 'util/strings.php')
0 files changed, 0 insertions, 0 deletions