This commit is contained in:
Caleb James DeLisle
2017-08-21 10:34:49 +02:00
parent 498c8229e9
commit 8b702e0150
7 changed files with 142 additions and 99 deletions

View File

@@ -49,10 +49,7 @@ define(['jquery'], function ($) {
exp.updateTitle = function (newTitle, cb) {
cb = cb || $.noop;
if (newTitle === exp.title) { return; }
// Change the title now, and set it back to the old value if there is an error
//var oldTitle = exp.title;
Common.updateTitle(newTitle, cb)
//cb(null, newTitle);
Common.updateTitle(newTitle, cb);
};
// TODO not needed?