Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: andey/bestofama
base: d1f1f451c3
...
head fork: andey/bestofama
compare: ae63d6a80a
  • 2 commits
  • 3 files changed
  • 0 commit comments
  • 1 contributor
View
3  app/assets/javascripts/layout.js.coffee
@@ -1,4 +1,5 @@
jQuery ->
$("#li-navbar-search-button a").click ->
$("#li-navbar-search-button").addClass("hidden")
- $("#li-navbar-search-form").removeClass("hidden")
+ $("#li-navbar-search-form").removeClass("hidden")
+ $("#li-navbar-search-form .search-query").focus()
View
13 app/assets/stylesheets/amas.css.sass
@@ -21,15 +21,4 @@
.md
h1
- font-size: 1em
-
-#social-media
- position: fixed
- top: 75px
- left: 50%
- margin-left: -565px
- width: 60px
- text-align: center
-
- .spacer
- margin-top: 20px
+ font-size: 1em
View
43 app/views/amas/show.html.erb
@@ -53,46 +53,3 @@
</div>
</div>
<% end %>
-
-<div id="social-media">
-
- <!-- Twitter -->
- <a href="https://twitter.com/share" class="twitter-share-button" data-via="BestofAMAs" data-count="vertical">Tweet</a>
- <script>!function (d, s, id) {
- var js, fjs = d.getElementsByTagName(s)[0];
- if (!d.getElementById(id)) {
- js = d.createElement(s);
- js.id = id;
- js.src = "//platform.twitter.com/widgets.js";
- fjs.parentNode.insertBefore(js, fjs);
- }
- }(document, "script", "twitter-wjs");</script>
-
- <!-- Facebook -->
- <div class="spacer"></div>
- <div class="fb-like" data-send="false" data-layout="box_count" data-width="50" data-show-faces="true"></div>
- <div id="fb-root"></div>
- <script>(function (d, s, id) {
- var js, fjs = d.getElementsByTagName(s)[0];
- if (d.getElementById(id)) return;
- js = d.createElement(s);
- js.id = id;
- js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1";
- fjs.parentNode.insertBefore(js, fjs);
- }(document, 'script', 'facebook-jssdk'));</script>
-
- <!-- Google Plus -->
- <div class="spacer"></div>
- <div class="g-plusone" data-size="tall"></div>
- <script type="text/javascript">
- (function () {
- var po = document.createElement('script');
- po.type = 'text/javascript';
- po.async = true;
- po.src = 'https://apis.google.com/js/plusone.js';
- var s = document.getElementsByTagName('script')[0];
- s.parentNode.insertBefore(po, s);
- })();
- </script>
-
-</div>

No commit comments for this range

Something went wrong with that request. Please try again.