diff --git a/Changelog.md b/Changelog.md index 2f569b5da..d9bf1968a 100644 --- a/Changelog.md +++ b/Changelog.md @@ -19,6 +19,7 @@ ## Refactor * Remove unused setPreload function [#7354](https://github.com/diaspora/diaspora/pull/7354) * Remove jQuery deprecations [#7356](https://github.com/diaspora/diaspora/pull/7356) +* Use empty selector where "#" was used as a selector before (prepare jQuery 3 upgrade) [#7372](https://github.com/diaspora/diaspora/pull/7372) ## Bug fixes diff --git a/app/assets/javascripts/helpers/markdown_editor.js b/app/assets/javascripts/helpers/markdown_editor.js index 55df13480..5706888a1 100644 --- a/app/assets/javascripts/helpers/markdown_editor.js +++ b/app/assets/javascripts/helpers/markdown_editor.js @@ -65,7 +65,7 @@ Diaspora.MarkdownEditor.prototype = { var tabElement = $("
"); var writeTab = $(""); - this.writeLink = $("") + this.writeLink = $("") .attr("title", Diaspora.I18n.t("publisher.markdown_editor.tooltips.write")); this.writeLink.append($("")); @@ -80,7 +80,7 @@ Diaspora.MarkdownEditor.prototype = { writeTab.append(this.writeLink); var previewTab = $(""); - this.previewLink = $("") + this.previewLink = $("") .attr("title", Diaspora.I18n.t("publisher.markdown_editor.tooltips.preview")); this.previewLink.append($("")); diff --git a/app/assets/templates/header_tpl.jst.hbs b/app/assets/templates/header_tpl.jst.hbs index ab8a27a95..ee9eb0fb7 100644 --- a/app/assets/templates/header_tpl.jst.hbs +++ b/app/assets/templates/header_tpl.jst.hbs @@ -43,7 +43,7 @@