~openteachermaintainers/openteacher/3.x

« back to all changes in this revision

Viewing changes to modules/org/openteacher/profileRunners/webGenerator/static/scr/license-and-source.js

  • Committer: Marten de Vries
  • Date: 2017-06-28 18:05:48 UTC
  • Revision ID: git-v1:b4c406307aa345c58b9904b76580f15c5bff2a4e
Move JS into npm modules

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
session.languageChanged.handle(function () {
2
 
        $("#license-and-source-page .subheader").text(_("License information and source code"));
3
 
        $(".back-from-license-and-source").text(_("Back"));
4
 
});
5
 
$(function () {
6
 
        $(".back-from-license-and-source").click(function () {
7
 
                history.back();
8
 
        });
9
 
});
10
 
crossroads.addRoute("license-and-source", function () {
11
 
        $("#license-and-source-info").load("COPYING.txt");
12
 
        show("#license-and-source-page");
13
 
});