aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/editlink.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2015-01-08 15:09:46 +0100
committerArthurHoaro <arthur@hoa.ro>2015-01-09 09:47:48 +0100
commitfe16b01edb80ac2f2212125fadba8358dff91b95 (patch)
treec19fbb34904a1c5148202d01fa723d29b0e1557d /tpl/editlink.html
parenta2d5ef2127881561bf359390fac2d8d336a37335 (diff)
downloadShaarli-fe16b01edb80ac2f2212125fadba8358dff91b95.tar.gz
Shaarli-fe16b01edb80ac2f2212125fadba8358dff91b95.tar.zst
Shaarli-fe16b01edb80ac2f2212125fadba8358dff91b95.zip
* removed the language attribute on the script element since it is obsolete and we can safely omit it.
* make QRCode JS works with IE : * behave as a normal link if canvas aren't supported (<=IE8) * default parameter values in JS aren't widely supported (see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Default_parameters ), use this method instead: http://stackoverflow.com/a/148918/1484919 * dataset isn't supported in IE9 use getAttribute instead * addEventListener works with IE9+ and other browsers
Diffstat (limited to 'tpl/editlink.html')
-rw-r--r--tpl/editlink.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/editlink.html b/tpl/editlink.html
index 454dfff4..047e7f0d 100644
--- a/tpl/editlink.html
+++ b/tpl/editlink.html
@@ -33,7 +33,7 @@
33</div> 33</div>
34{include="page.footer"} 34{include="page.footer"}
35{if="($GLOBALS['config']['OPEN_SHAARLI'] || isLoggedIn()) && empty($GLOBALS['disablejquery'])"} 35{if="($GLOBALS['config']['OPEN_SHAARLI'] || isLoggedIn()) && empty($GLOBALS['disablejquery'])"}
36<script language="JavaScript"> 36<script>
37$(document).ready(function() 37$(document).ready(function()
38{ 38{
39 $('#lf_tags').autocomplete({source:'{$source}?ws=tags',minLength:1}); 39 $('#lf_tags').autocomplete({source:'{$source}?ws=tags',minLength:1});