Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2adcfef authored by Dirk Dougherty's avatar Dirk Dougherty Committed by Android Git Automerger
Browse files

am 518ed145: Fix g-plusone data-href references for cards pointing to static content.

* commit '518ed145':
  Fix g-plusone data-href references for cards pointing to static content.
parents 573db58e 518ed145
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3798,6 +3798,7 @@ function showSamples() {
          .append($('<div>').addClass('util')))
          .appendTo(this);
    } else {
      var plusurl = resource.url.indexOf("//") > -1 ? resource.url : "//developer.android.com/" + resource.url;
      $('<div>').addClass('card-info' + (!resource.summary ? ' empty-desc' : ''))
        .append($('<div>').addClass('section').text(section))
        .append($('<div>').addClass('title').html(resource.title))
@@ -3807,7 +3808,7 @@ function showSamples() {
            .append($('<div>').addClass('g-plusone')
              .attr('data-size', 'small')
              .attr('data-align', 'right')
              .attr('data-href', resource.url))))
              .attr('data-href', plusurl))))
            .appendTo(this);
    }