Skip to content

Commit

Permalink
fix variable check it js files
Browse files Browse the repository at this point in the history
  • Loading branch information
saturnflyer committed Dec 16, 2009
1 parent 995928d commit 2480500
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion javascripts/admin/application.js
@@ -1,4 +1,4 @@
if(typeof(relative_url_root) !== 'undefined'){ relative_url_root = ''}
if(typeof(relative_url_root) === 'undefined'){ relative_url_root = ''}
// Popup Images
Popup.BorderImage = relative_url_root + '/images/admin/popup_border_background.png';
Popup.BorderTopLeftImage = relative_url_root + '/images/admin/popup_border_top_left.png';
Expand Down
2 changes: 1 addition & 1 deletion javascripts/admin/tabcontrol.js
@@ -1,4 +1,4 @@
if(typeof(relative_url_root) !== 'undefined'){ relative_url_root = ''}
if(typeof(relative_url_root) === 'undefined'){ relative_url_root = ''}
var TabControlBehavior = Behavior.create({
initialize: function() {
new TabControl(this.element);
Expand Down
2 changes: 1 addition & 1 deletion javascripts/admin/toolbar.js
Expand Up @@ -45,7 +45,7 @@
* DEALINGS IN THE SOFTWARE.
*
*/
if(typeof(relative_url_root) !== 'undefined'){ relative_url_root = ''}
if(typeof(relative_url_root) === 'undefined'){ relative_url_root = ''}
// Define Button Object
function EditorButton(id, display, tagStart, tagEnd, access, title, sve, open) {
this.id = id; // used to name the toolbar button
Expand Down

0 comments on commit 2480500

Please sign in to comment.