Skip to content

Commit

Permalink
fix(nav): fixed nav bar link error
Browse files Browse the repository at this point in the history
  • Loading branch information
cg33 committed May 25, 2020
1 parent a905f62 commit 0c51595
Show file tree
Hide file tree
Showing 6 changed files with 82 additions and 102 deletions.
82 changes: 41 additions & 41 deletions adminlte/resource/assets.go

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions adminlte/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -2337,11 +2337,6 @@ var TemplateList = map[string]string{"403": `<div class="missing-content">
}
</style>
{{end}}`, "content": `{{define "content"}}
<script>
$('a.new-tab-link').unbind('click').on('click', function () {
listenerForAddNavTab($(this).attr('href'), $(this).attr('data-title'))
});
</script>
{{if ne .Panel.CSS ""}}
<style>
{{.Panel.CSS}}
Expand Down
5 changes: 0 additions & 5 deletions common/pages/content.tmpl
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{{define "content"}}
<script>
$('a.new-tab-link').unbind('click').on('click', function () {
listenerForAddNavTab($(this).attr('href'), $(this).attr('data-title'))
});
</script>
{{if ne .Panel.CSS ""}}
<style>
{{.Panel.CSS}}
Expand Down
Loading

0 comments on commit 0c51595

Please sign in to comment.