Permalink
Browse files

Update JS

- jQuery to latest 2.x version (let's avoid updating to 3.x and requiring either a complete refactor or using their migrate plugin. This said, if anyone is up to submitting a PR to do so, feel free :)
- clipboad lib
  • Loading branch information...
ozh committed Apr 22, 2017
1 parent b6d92b7 commit 675ba8527fcb8d88d380054a2b0a62121712108e
Showing with 7 additions and 3 deletions.
  1. +1 −1 includes/functions-html.php
  2. +2 −2 js/clipboard.min.js
  3. +4 −0 js/jquery-2.2.4.min.js
@@ -89,7 +89,7 @@ function yourls_html_head( $context = 'index', $title = '' ) {
<meta name="generator" content="YOURLS <?php echo YOURLS_VERSION ?>" />
<meta name="description" content="YOURLS &raquo; Your Own URL Shortener' | <?php yourls_site_url(); ?>" />
<meta name="referrer" content="always" />
<script src="<?php yourls_site_url(); ?>/js/jquery-1.9.1.min.js?v=<?php echo YOURLS_VERSION; ?>" type="text/javascript"></script>
<script src="<?php yourls_site_url(); ?>/js/jquery-2.2.4.min.js?v=<?php echo YOURLS_VERSION; ?>" type="text/javascript"></script>
<script src="<?php yourls_site_url(); ?>/js/common.js?v=<?php echo YOURLS_VERSION; ?>" type="text/javascript"></script>
<script src="<?php yourls_site_url(); ?>/js/jquery.notifybar.js?v=<?php echo YOURLS_VERSION; ?>" type="text/javascript"></script>
<link rel="stylesheet" href="<?php yourls_site_url(); ?>/css/style.css?v=<?php echo YOURLS_VERSION; ?>" type="text/css" media="screen" />
Oops, something went wrong.

0 comments on commit 675ba85

Please sign in to comment.