mirror of
https://github.com/friendica/friendica
synced 2025-04-22 17:50:11 +00:00
Move urlRegex JS constant to main.js
This commit is contained in:
parent
bfcae2f79a
commit
088eb3391e
2 changed files with 2 additions and 1 deletions
|
@ -86,6 +86,8 @@ var last_popup_menu = null;
|
|||
var last_popup_button = null;
|
||||
var lockLoadContent = false;
|
||||
|
||||
const urlRegex = /^(?:https?:\/\/|\s)[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})(?:\/+[a-z0-9_.:;-]*)*(?:\?[&%|+a-z0-9_=,.:;-]*)?(?:[&%|+&a-z0-9_=,:;.-]*)(?:[!#\/&%|+a-z0-9_=,:;.-]*)}*$/i;
|
||||
|
||||
$(function() {
|
||||
$.ajaxSetup({cache: false});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue