Skip to content

Commit

Permalink
Merge pull request hubertusanton#10 from gordonbanderson/ISSUE8-FULL-URL
Browse files Browse the repository at this point in the history
FIX: Ensure the entire URL is used when check for page subject
  • Loading branch information
micschk committed May 4, 2015
2 parents b6d3547 + be381c1 commit b5c28f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion javascript/seo.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@
//console.log(EditorContent);
var FirstParagraph = $(EditorContent).filter('p').first().text().toLowerCase();
var PageContent = $(EditorContent).text().toLowerCase();
var PageURL = $('input[name="URLSegment"]').val().toLowerCase();
var URLSegmentNode = $('input[name="URLSegment"]');
var PageURL = URLSegmentNode.attr('data-prefix').toLowerCase()+URLSegmentNode.val().toLowerCase();
var PageMetaTitle = $('input[name="MetaTitle"]').val().toLowerCase();
var PageMetaDescription = $('textarea[name="MetaDescription"]').val().toLowerCase();

Expand Down

0 comments on commit b5c28f1

Please sign in to comment.