Skip to content

Instantly share code, notes, and snippets.

@ottok
Created May 17, 2017 07:59
Show Gist options
  • Save ottok/fecaeb2f501654df33b34393b3214855 to your computer and use it in GitHub Desktop.
Save ottok/fecaeb2f501654df33b34393b3214855 to your computer and use it in GitHub Desktop.
koodiasuomesta teeman korjauksia
diff -ru 20150814_sage/assets/scripts/jquery.ba-bbq.js /data/backups/data/wordpress/htdocs/wp-content/themes/20150814_sage/assets/scripts/jquery.ba-bbq.js
--- 20150814_sage/assets/scripts/jquery.ba-bbq.js 2017-05-17 10:06:56.131747047 +0300
+++ /data/backups/data/wordpress/htdocs/wp-content/themes/20150814_sage/assets/scripts/jquery.ba-bbq.js 2017-05-02 14:19:25.000000000 +0300
@@ -975,10 +975,10 @@
// IE6/7 specifically need some special love when it comes to back-button
// support, so let's do a little browser sniffing..
- //browser = $.browser,
+ browser = $.browser,
mode = document.documentMode,
- //is_old_ie = browser.msie && ( mode === undefined || mode < 8 ),
- is_old_ie = false;
+ is_old_ie = browser.msie && ( mode === undefined || mode < 8 ),
+
// Does the browser support window.onhashchange? Test for IE version, since
// IE8 incorrectly reports this when in "IE7" or "IE8 Compatibility View"!
supports_onhashchange = 'on' + str_hashchange in window && !is_old_ie;
diff -ru 20150814_sage/template-front.php /data/backups/data/wordpress/htdocs/wp-content/themes/20150814_sage/template-front.php
--- 20150814_sage/template-front.php 2017-05-17 10:03:45.927737575 +0300
+++ /data/backups/data/wordpress/htdocs/wp-content/themes/20150814_sage/template-front.php 2017-05-02 14:19:25.000000000 +0300
@@ -64,7 +64,7 @@
#koodiasuomesta Tweets
</a>
- <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+ <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^https:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div><!-- twitter -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment